aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-03 15:09:58 -0700
committerredmatrix <git@macgirvin.com>2016-06-03 15:09:58 -0700
commit624f4641e2a8af91f519ac47ba1c72138734b17c (patch)
tree8b5bf6329518fae44b1d5c979130416c8d97a689 /include/text.php
parentdcba30a6aa3129d2d00fbebc281fc6e15c7785a6 (diff)
downloadvolse-hubzilla-624f4641e2a8af91f519ac47ba1c72138734b17c.tar.gz
volse-hubzilla-624f4641e2a8af91f519ac47ba1c72138734b17c.tar.bz2
volse-hubzilla-624f4641e2a8af91f519ac47ba1c72138734b17c.zip
missed an object -> obj conversion in prepare_body
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 834eec920..72db9c5ea 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1473,7 +1473,7 @@ function prepare_body(&$item,$attach = false) {
if($is_photo) {
- $object = json_decode($item['object'],true);
+ $object = json_decode($item['obj'],true);
// if original photo width is <= 640px prepend it to item body
if($object['link'][0]['width'] && $object['link'][0]['width'] <= 640) {