From f12ebffa39b0bfa320e665a741ec57e48717e33a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 14 Oct 2015 22:24:13 +0200 Subject: really check for large photos feature --- include/ItemObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ItemObject.php') diff --git a/include/ItemObject.php b/include/ItemObject.php index 46bb78ecd..ee431dccb 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -278,7 +278,7 @@ class Item extends BaseObject { $children = $this->get_children(); - $is_photo = (($item['resource_type'] == 'photo') ? true : false) && feature_enabled($conv->get_profile_owner(),'large_photos'); + $is_photo = ((($item['resource_type'] == 'photo') && (feature_enabled($conv->get_profile_owner(),'large_photos'))) ? true : false); $has_tags = (($body['tags'] || $body['categories'] || $body['mentions'] || $body['attachments'] || $body['folders']) ? true : false); -- cgit v1.2.3