Fixing style errors.

This commit is contained in:
stickler-ci 2023-01-12 18:36:33 +00:00
parent c805571544
commit 2f80f873ea

View File

@ -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;
} }