// Rewrite module cache
$modArray = $GLOBALS['cache_array']['modules'];
+
+ // Do only process valid arrays
+ if (!isset($modArray['module'])) {
+ // We should fix this!
+ debug_report_bug(__FILE__, __LINE__, 'modArray=<pre>'.print_r($modArray, true).'</pre>');
+ } // END - if
+
+ // Rewrite some parts
foreach ($modArray['module'] as $key => $mod) {
// Add all
foreach (array('id','title','locked','hidden','admin_only','mem_only','has_menu') as $entry) {