searchsubmenu item() function definition

This commit is contained in:
Mikael Nordfeldth 2015-07-09 22:19:19 +02:00
parent 9fb3ea3ce6
commit 90565cc44d

View File

@ -86,7 +86,7 @@ class SearchSubMenu extends MoreMenu
return $items; return $items;
} }
function item($actionName, $args, $label, $description, $id=null, $cls=null) function item($actionName, array $args, $label, $description, $id=null, $cls=null)
{ {
if (empty($id)) { if (empty($id)) {
$id = $this->menuItemID($actionName, $args); $id = $this->menuItemID($actionName, $args);