Fixing style errors.
This commit is contained in:
parent
9329e54fc3
commit
0f177274e0
@ -2423,7 +2423,7 @@ function printDropdownQuickadd()
|
||||
$reshook = $hookmanager->executeHooks('menuDropdownQuickaddItems', $parameters, $hook_items); // Note that $action and $object may have been modified by some hooks
|
||||
if (is_numeric($reshook) && is_array($hookmanager->results)) {
|
||||
if ($reshook == 0) {
|
||||
$items['items'] = array_merge($items['items'],$hookmanager->results); // add
|
||||
$items['items'] = array_merge($items['items'], $hookmanager->results); // add
|
||||
} else {
|
||||
$items = $hookmanager->results; // replace
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user