From 735f9c7a45fc1f5b149bb1798a2d438516655a5c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 22 Oct 2015 11:37:34 +0200 Subject: define $photo --- include/text.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/text.php b/include/text.php index d918a865a..544e7aa68 100644 --- a/include/text.php +++ b/include/text.php @@ -1375,6 +1375,8 @@ function prepare_body(&$item,$attach = false) { // } $is_photo = (($item['obj_type'] === ACTIVITY_OBJ_PHOTO) ? true : false); + $photo = ''; + if($is_photo) { $object = json_decode($item['object'],true); $photo = ''; -- cgit v1.2.3