diff --git a/e107_handlers/message_handler.php b/e107_handlers/message_handler.php index 29e1a6671..4a1bb8d74 100644 --- a/e107_handlers/message_handler.php +++ b/e107_handlers/message_handler.php @@ -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;