From 02ae9a182068f96c0276855de6878bea82b0ee29 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 4 Oct 2022 10:15:39 +0200 Subject: [PATCH] =?UTF-8?q?Param=C3=A8tre=20null=20pass=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 18030d31..87f5639f 100644 --- a/core/core.php +++ b/core/core.php @@ -2846,7 +2846,9 @@ class core extends common $accessInfo['userName'] = ''; $accessInfo['pageId'] = ''; foreach ($this->getData(['user']) as $userId => $userIds) { - $t = explode('/', $this->getData(['user', $userId, 'accessUrl'])); + if (!is_null($this->getData(['user', $userId, 'accessUrl'])) ) { + $t = explode('/',$this->getData(['user', $userId, 'accessUrl'])); + } if ( $this->getUser('id') && $userId !== $this->getUser('id') &&