summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}
}