From 606f48500f97368dd93e037002c07decd842a6f5 Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Fri, 3 Mar 2023 08:52:50 +0100 Subject: [PATCH] fix PHP8 errors --- conlite/backend_search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conlite/backend_search.php b/conlite/backend_search.php index aeb740a..e63390f 100644 --- a/conlite/backend_search.php +++ b/conlite/backend_search.php @@ -555,8 +555,8 @@ if (empty($where) || $iAffectedRows <= 0) { #Check rights per cat if (!$check_rights) { //hotfix timo trautmann 2008-12-10 also check rights in associated groups - $aGroupsForUser = $perm->getGroupsForUser($auth->auth[uid]); - $aGroupsForUser[] = $auth->auth[uid]; + $aGroupsForUser = $perm->getGroupsForUser($auth->auth['uid']); + $aGroupsForUser[] = $auth->auth['uid']; $sTmpUserString = implode("','", $aGroupsForUser); #Check if any rights are applied to current user or his groups