aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-02 13:32:10 -0700
committerzotlabs <mike@macgirvin.com>2018-04-02 13:32:10 -0700
commit9a1f051068b5d301bbe1f08b6b160447fa94a34a (patch)
tree770c4dd4c241c2ed9a4cbd94fccf00f51e6228ee /include/items.php
parentbcffb6cf55ff2d9d88fcb38105695b14ea3586b3 (diff)
downloadvolse-hubzilla-9a1f051068b5d301bbe1f08b6b160447fa94a34a.tar.gz
volse-hubzilla-9a1f051068b5d301bbe1f08b6b160447fa94a34a.tar.bz2
volse-hubzilla-9a1f051068b5d301bbe1f08b6b160447fa94a34a.zip
missing year on profile birthday input, some optimisations to stats
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index d1625e944..e232a0200 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2551,9 +2551,7 @@ function tag_deliver($uid, $item_id) {
$j_obj = json_decode($item['obj'],true);
logger('tag_deliver: tag object: ' . print_r($j_obj,true), LOGGER_DATA);
if($j_obj && $j_obj['id'] && $j_obj['title']) {
- if(is_array($j_obj['link']))
- $taglink = get_rel_link($j_obj['link'],'alternate');
-
+ //COMMUNITYTAG
store_item_tag($u[0]['channel_id'],$p[0]['id'],TERM_OBJ_POST,TERM_COMMUNITYTAG,$j_obj['title'],$j_obj['id']);
$x = q("update item set edited = '%s', received = '%s', changed = '%s' where mid = '%s' and uid = %d",
dbesc(datetime_convert()),