forked from Wavyzz/dolibarr
Fixing style errors.
This commit is contained in:
@@ -932,13 +932,13 @@ if ($resql)
|
|||||||
$hookmanager->initHooks(array('takeposfrontend'));
|
$hookmanager->initHooks(array('takeposfrontend'));
|
||||||
$reshook = $hookmanager->executeHooks('ActionButtons');
|
$reshook = $hookmanager->executeHooks('ActionButtons');
|
||||||
if (!empty($reshook)) {
|
if (!empty($reshook)) {
|
||||||
if (is_array($reshook) && !isset($reshook['title'])) {
|
if (is_array($reshook) && !isset($reshook['title'])) {
|
||||||
foreach ($reshook as $reshook) {
|
foreach ($reshook as $reshook) {
|
||||||
$menus[$r++] = $reshook;
|
$menus[$r++] = $reshook;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$menus[$r++] = $reshook;
|
$menus[$r++] = $reshook;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($r % 3 == 2) $menus[$r++] = array('title'=>'', 'style'=>'visibility: hidden;');
|
if ($r % 3 == 2) $menus[$r++] = array('title'=>'', 'style'=>'visibility: hidden;');
|
||||||
|
|||||||
Reference in New Issue
Block a user