Fixing style errors.

This commit is contained in:
stickler-ci 2021-02-26 17:14:26 +00:00
parent 5f1d7ee763
commit 629efe7d5a
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ $childids = $user->getAllChildIds(1);
// Security check // Security check
$socid = 0; $socid = 0;
if ($user->socid > 0) { // Protection if external user if ($user->socid > 0) { // Protection if external user
//$socid = $user->socid; //$socid = $user->socid;
accessforbidden(); accessforbidden();
} }
$result = restrictedArea($user, 'holiday', '', ''); $result = restrictedArea($user, 'holiday', '', '');

View File

@ -37,7 +37,7 @@ $langs->loadLangs(array("holiday"));
// Security check // Security check
$socid = 0; $socid = 0;
if ($user->socid > 0) { // Protection if external user if ($user->socid > 0) { // Protection if external user
//$socid = $user->socid; //$socid = $user->socid;
accessforbidden(); accessforbidden();
} }
$result = restrictedArea($user, 'holiday', $id, ''); $result = restrictedArea($user, 'holiday', $id, '');