Paramètre null passé

This commit is contained in:
Fred Tempez 2022-10-04 10:15:39 +02:00
parent 317d2fc934
commit 02ae9a1820
1 changed files with 3 additions and 1 deletions

View File

@ -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') &&