Code cleanups, deprecated classes renamed
[core.git] / inc / classes / main / menu / class_BaseMenu.php
index 8041813b3f5151eb955eed43db010f55c585a044..8ab109f8a99faccca72e8ce6daa9d5839c42f672 100644 (file)
@@ -55,7 +55,7 @@ class BaseMenu extends BaseFrameworkSystem {
                // Load the menu template for this page
                try {
                        $this->getTemplateInstance()->loadMenuTemplate($page . '_menu_entries');
-               } catch (FileNotFoundException $e) {
+               } catch (FileIoException $e) {
                        // @TODO Should we log it here? We should, because it will be silently ignored.
                }