diff options
-rw-r--r-- | src/lib/MessageManager.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/MessageManager.class.php b/src/lib/MessageManager.class.php index cfcdac7..1302f8b 100644 --- a/src/lib/MessageManager.class.php +++ b/src/lib/MessageManager.class.php @@ -472,7 +472,7 @@ class MessageManager { private function sanitizeArray($in) { $out = array(); foreach ($in as $item) { - if (($item !== '')||(!in_array($item, $out))) { + if (($item !== '')&&(!in_array($item, $out))) { $out[] = $item; } } |