Ticket #10: PageMgr.diff

File PageMgr.diff, 0.8 kB (added by BubuLeMag, 3 years ago)
  • R:/SVN/seagull/modules/navigation/classes/PageMgr.php

    old new  
    286286                ? $output->section['module'] 
    287287                : key($output->aModules); 
    288288            $output->aManagers = SGL_Util::getAllFilesPerModule(SGL_MOD_DIR .'/'. $currentModule); 
    289             $currentMgr = isset($output->section['manager']) 
     289            $currentMgr = isset($output->section['manager']) && isset($output->aManagers[$output->section['manager']]) 
    290290                ? $output->section['manager'] 
    291291                : key($output->aManagers); 
    292292            $output->aActions = ($currentMgr != 'none')