1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Leftover debug

This commit is contained in:
SecretR
2013-05-07 16:28:31 +03:00
parent 69d48aaaf7
commit 29e19a5387

View File

@@ -186,7 +186,7 @@ class eMessage
if(empty($msg)) return $this;
if(!$session)
{var_dump($this->_unique, $this->_sysmsg[$type][$mstack]);
{
// unique messages only
if(in_array($mstack, $this->_unique) && isset($this->_sysmsg[$type][$mstack]) && in_array($msg, $this->_sysmsg[$type][$mstack])) return $this;
if($this->isType($type)) $this->_sysmsg[$type][$mstack][] = $msg;