Skip to content

Commit 156bd61

Browse files
[5.4] PHP8.5 Deprecations (joomla#46136)
* PHP8.5 Deprecations * Update administrator/components/com_menus/src/Model/MenuModel.php --------- Co-authored-by: Tuan Pham Ngoc <[email protected]>
1 parent 11dd5c0 commit 156bd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function &getModules()
364364
foreach ($modules as &$module) {
365365
$params = new Registry($module->params);
366366

367-
$menuType = $params->get('menutype');
367+
$menuType = $params->get('menutype', '');
368368

369369
if (!isset($result[$menuType])) {
370370
$result[$menuType] = [];

0 commit comments

Comments
 (0)