Skip to content

Commit 36d0214

Browse files
BakualThomas Hunziker
andauthored
Lookup correct form path (#35523)
Co-authored-by: Thomas Hunziker <[email protected]>
1 parent 82e8252 commit 36d0214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_menus/src/Model/ItemModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ protected function preprocessForm(Form $form, $data, $group = 'content')
12481248
else
12491249
{
12501250
// We don't have a component. Load the form XML to get the help path
1251-
$xmlFile = Path::find(JPATH_ADMINISTRATOR . '/components/com_menus/models/forms', $typeFile . '.xml');
1251+
$xmlFile = Path::find(JPATH_ADMINISTRATOR . '/components/com_menus/forms', $typeFile . '.xml');
12521252

12531253
if ($xmlFile)
12541254
{

0 commit comments

Comments
 (0)