aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 56cb39b04..6d853323f 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3192,7 +3192,7 @@ function item_expire($uid,$days) {
// Only expire posts, not photos and photo comments
- if($expire_photos==0 && $item['resource_type'] === 'photo'))
+ if($expire_photos==0 && ($item['resource_type'] === 'photo'))
continue;
if($expire_starred==0 && ($item['item_flags'] & ITEM_STARRED))
continue;