diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-04 20:43:11 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-04 20:43:11 -0400 |
commit | b7280e6e91eb0f6da5a59a8ffd3da6f7c83e2815 (patch) | |
tree | 0ec0b3142e80aba42a041fac620e39b721bdd2e9 /src/lib/MessageManager.class.php | |
parent | 716c3a5a3a36206e93431eb5f8df3471546ec4b2 (diff) |
Fix bug in MessageManager->sanitizeArray()
Diffstat (limited to 'src/lib/MessageManager.class.php')
-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; } } |