regression - save bookmarks no longer present in item menu

This commit is contained in:
redmatrix 2016-07-05 16:24:45 -07:00
parent f46eecc1e7
commit 35cc763a92
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -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'],
);