From f9afebf7c64851ea095e683dc9d9e68071d63bce Mon Sep 17 00:00:00 2001 From: jf-cbd Date: Wed, 3 Jun 2026 16:04:05 +0200 Subject: [PATCH] Rollback --- core/userrights.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/userrights.class.inc.php b/core/userrights.class.inc.php index 054abb361..ff88fbf63 100644 --- a/core/userrights.class.inc.php +++ b/core/userrights.class.inc.php @@ -1541,8 +1541,8 @@ class UserRights */ public static function IsActionAllowed($sClass, $iActionCode, $oInstanceSet = null, $oUser = null) { - // When initializing, we need to let everything pass through - if (is_null($oUser) && !self::CheckLogin()) { + // When initializing, we need to let everything pass trough + if (!self::CheckLogin()) { return UR_ALLOWED_YES; }