Skip to content

Commit

Permalink
Fix open_basedir warning when creating a menu item (joomla#36789)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik authored Jan 23, 2022
1 parent aae1bb8 commit c7cf2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_menus/models/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit c7cf2dc

Please sign in to comment.