Paramètre null passé

This commit is contained in:
Fred Tempez 2022-10-04 10:15:39 +02:00
parent 317d2fc934
commit 02ae9a1820

View File

@ -2846,7 +2846,9 @@ class core extends common
$accessInfo['userName'] = ''; $accessInfo['userName'] = '';
$accessInfo['pageId'] = ''; $accessInfo['pageId'] = '';
foreach ($this->getData(['user']) as $userId => $userIds) { 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 ( if (
$this->getUser('id') && $this->getUser('id') &&
$userId !== $this->getUser('id') && $userId !== $this->getUser('id') &&