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 = '';