diff options
author | redmatrix <git@macgirvin.com> | 2016-07-05 16:24:45 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-05 16:24:45 -0700 |
commit | 35cc763a92eefe755701a734f5d4256eae99e0b7 (patch) | |
tree | 374563b12a9ce16c53efa56cae425177689ede70 | |
parent | f46eecc1e7585e64069bb18918a2db057a16c480 (diff) | |
download | volse-hubzilla-35cc763a92eefe755701a734f5d4256eae99e0b7.tar.gz volse-hubzilla-35cc763a92eefe755701a734f5d4256eae99e0b7.tar.bz2 volse-hubzilla-35cc763a92eefe755701a734f5d4256eae99e0b7.zip |
regression - save bookmarks no longer present in item menu
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 | ||||
-rw-r--r-- | include/feedutils.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 6625b7b52..638afeb6b 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -248,7 +248,7 @@ class ThreadItem { $has_bookmarks = false; if(is_array($item['term'])) { foreach($item['term'] as $t) { - if(!UNO && $t['type'] == TERM_BOOKMARK) + if(!UNO && $t['ttype'] == TERM_BOOKMARK) $has_bookmarks = true; } } diff --git a/include/feedutils.php b/include/feedutils.php index 685b2f982..01ec0687e 100644 --- a/include/feedutils.php +++ b/include/feedutils.php @@ -393,7 +393,7 @@ function get_atom_elements($feed, $item, &$author) { $terms = array(); $terms[] = array( 'otype' => TERM_OBJ_POST, - 'type' => TERM_BOOKMARK, + 'ttype' => TERM_BOOKMARK, 'url' => $res['plink'], 'term' => $res['title'], ); @@ -403,7 +403,7 @@ function get_atom_elements($feed, $item, &$author) { $terms = array(); $terms[] = array( 'otype' => TERM_OBJ_POST, - 'type' => TERM_BOOKMARK, + 'ttype' => TERM_BOOKMARK, 'url' => $res['plink'], 'term' => $res['plink'], ); |