diff --git a/administrator/components/com_menus/models/item.php b/administrator/components/com_menus/models/item.php index f7860502c375d..97ac0a397daad 100644 --- a/administrator/components/com_menus/models/item.php +++ b/administrator/components/com_menus/models/item.php @@ -1145,7 +1145,7 @@ protected function preprocessForm(JForm $form, $data, $group = 'content') $formFile = $path; } } - else + elseif ($base) { // Now check for a component manifest file $path = JPath::clean($base . '/metadata.xml');