Fixing style errors.

This commit is contained in:
stickler-ci 2020-10-06 06:56:08 +00:00
parent 33b7d06bb9
commit 8f542a8572

View File

@ -106,7 +106,7 @@ $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
if(empty($reshook)) {
if (empty($reshook)) {
include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php';
// All tests are required to be compatible with all browsers
@ -186,7 +186,7 @@ if (GETPOST("orphelins", "alpha")) {
}
if ($userid) {
if ($userid == -1) $sql .= " AND f.fk_user_author IS NULL";
else $sql .= " AND f.fk_user_author = ".$userid;
else $sql .= " AND f.fk_user_author = ".$userid;
}
// Search criteria