diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-20 13:07:29 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-20 13:07:29 -0400 |
commit | 8cd9a1e4fc28d92d270e3f154c144123dca9044a (patch) | |
tree | 20e9d45895fdea5a1af3f4066a95c526e7476a20 /include/taxonomy.php | |
parent | 20b4fc919871433df6111cbb8b3508fd1693123b (diff) | |
parent | cc09f9a7a5f799a0811ba83799c0a3ac6598c476 (diff) | |
download | volse-hubzilla-8cd9a1e4fc28d92d270e3f154c144123dca9044a.tar.gz volse-hubzilla-8cd9a1e4fc28d92d270e3f154c144123dca9044a.tar.bz2 volse-hubzilla-8cd9a1e4fc28d92d270e3f154c144123dca9044a.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r-- | include/taxonomy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index 177215fe8..067bd3246 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -400,7 +400,7 @@ function get_things($profile_hash,$uid) { if(! $things[$rr['obj_verb']]) $things[$rr['obj_verb']] = array(); - $things[$rr['obj_verb']][] = array('term' => $rr['obj_term'],'url' => $rr['obj_url'],'img' => $rr['obj_imgurl'], 'profile' => $rr['profile_name'],'term_hash' => $rr['obj_obj'], 'likes' => $l,'like_count' => count($l),'like_label' => tt('Like','Likes',count($l),'noun')); + $things[$rr['obj_verb']][] = array('term' => $rr['obj_term'],'url' => $rr['obj_url'],'img' => $rr['obj_imgurl'], 'editurl' => z_root() . '/thing/' . $rr['obj_obj'], 'profile' => $rr['profile_name'],'term_hash' => $rr['obj_obj'], 'likes' => $l,'like_count' => count($l),'like_label' => tt('Like','Likes',count($l),'noun')); } $sorted_things = array(); if($things) { |