mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
Corrected PHP 8.1 warnings.
This commit is contained in:
@@ -334,7 +334,7 @@ class eMessage
|
||||
if($this->isType($type))
|
||||
{
|
||||
// unique messages only
|
||||
if(in_array($mstack, $this->_unique) && in_array($message, $SESSION[$type][$mstack])) return $this;
|
||||
if(in_array($mstack, $this->_unique) && isset($SESSION[$type][$mstack]) && in_array($message, $SESSION[$type][$mstack])) return $this;
|
||||
|
||||
$SESSION[$type][$mstack][] = $message;
|
||||
$this->getSessionHandler()->set($this->_session_id, $SESSION);
|
||||
|
Reference in New Issue
Block a user