Rev 1449 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1449 | Rev 1454 | ||
---|---|---|---|
Line 1247... | Line 1247... | ||
1247 | $stufen = array(); |
1247 | $stufen = array(); |
1248 | $max_ent = 0; |
1248 | $max_ent = 0; |
1249 | while ($row = $res->fetch_object()) { |
1249 | while ($row = $res->fetch_object()) { |
1250 | $max_ent++; |
1250 | $max_ent++; |
1251 | if ($max_ent > 1000) { // TODO: we need to find a solution for this!!! |
1251 | if ($max_ent > 1000) { // TODO: we need to find a solution for this!!! |
1252 | $menu_entry = array('id' => 'oidplus:system', 'icon' => '', 'text' => _L('There are too many child items to display'), 'indent' => 0); |
1252 | $menu_entry = array('id' => '', 'icon' => '', 'text' => _L('There are too many child items to display'), 'indent' => 0); |
1253 | $menu_entries[] = $menu_entry; |
1253 | $menu_entries[] = $menu_entry; |
- | 1254 | $stufen[] = $stufe; |
|
1254 | break; |
1255 | break; |
1255 | } |
1256 | } |
1256 | 1257 | ||
1257 | $obj = OIDplusObject::parse($row->id); |
1258 | $obj = OIDplusObject::parse($row->id); |
1258 | if (!$obj) continue; // might happen if the objectType is not available/loaded |
1259 | if (!$obj) continue; // might happen if the objectType is not available/loaded |