summaryrefslogtreecommitdiff
path: root/src/lib/MessageManager.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/MessageManager.class.php')
-rw-r--r--src/lib/MessageManager.class.php2
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;
}
}