summaryrefslogtreecommitdiffstats
path: root/db/statusflag.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/statusflag.php')
-rw-r--r--db/statusflag.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/statusflag.php b/db/statusflag.php
index 96d64915b..2b96564fc 100644
--- a/db/statusflag.php
+++ b/db/statusflag.php
@@ -43,9 +43,9 @@ class StatusFlag {
}
if($showAll){
- $status |= self::UNREAD;
- } else {
$status &= ~self::UNREAD;
+ } else {
+ $status |= self::UNREAD;
}
return $status;