Skip to content

Commit

Permalink
Update administrator/components/com_menus/Model/MenuModel.php
Browse files Browse the repository at this point in the history
Co-Authored-By: C-Lodder <lodder15@hotmail.co.uk>
  • Loading branch information
SharkyKZ and C-Lodder committed Mar 13, 2019
1 parent 2e348fc commit 01f9b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_menus/Model/MenuModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function &getItem($itemId = null)
}

$properties = $table->getProperties(1);
$value = ArrayHelper::toObject($properties, 'CMSObject');
$value = ArrayHelper::toObject($properties, CMSObject::class);

return $value;
}
Expand Down

0 comments on commit 01f9b27

Please sign in to comment.