Fixing style errors.
This commit is contained in:
parent
c805571544
commit
2f80f873ea
@ -216,10 +216,10 @@ if (isModEnabled('ticket')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Hook for insertion new items in the List of possible landing pages
|
// Hook for insertion new items in the List of possible landing pages
|
||||||
$reshook = $hookmanager->executeHooks('addToLandingPageList',$tmparray,$object);
|
$reshook = $hookmanager->executeHooks('addToLandingPageList', $tmparray, $object);
|
||||||
if ($reshook < 0) {
|
if ($reshook < 0) {
|
||||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
} else if ($reshook === 0) {
|
} elseif ($reshook === 0) {
|
||||||
if (count($hookmanager->resArray)!==0) {
|
if (count($hookmanager->resArray)!==0) {
|
||||||
$tmparray=$hookmanager->resArray;
|
$tmparray=$hookmanager->resArray;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user