really check for large photos feature
This commit is contained in:
		| @@ -278,7 +278,7 @@ class Item extends BaseObject { | |||||||
| 		 | 		 | ||||||
| 		$children = $this->get_children(); | 		$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); | 		$has_tags = (($body['tags'] || $body['categories'] || $body['mentions'] || $body['attachments'] || $body['folders']) ? true : false); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -681,7 +681,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $ | |||||||
|  |  | ||||||
| 				$body = prepare_body($item,true); | 				$body = prepare_body($item,true); | ||||||
|  |  | ||||||
| 				$is_photo = (($item['resource_type'] == 'photo') ? true : false); | 				$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); | 				$has_tags = (($body['tags'] || $body['categories'] || $body['mentions'] || $body['attachments'] || $body['folders']) ? true : false); | ||||||
|  |  | ||||||
| 				$tmp_item = array( | 				$tmp_item = array( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user