diff options
Diffstat (limited to 'services/bookmarkservice.php')
-rw-r--r-- | services/bookmarkservice.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/services/bookmarkservice.php b/services/bookmarkservice.php index 5339004..2cd42e2 100644 --- a/services/bookmarkservice.php +++ b/services/bookmarkservice.php @@ -280,6 +280,7 @@ class BookmarkService { $query_3 .= ' AND ('. $query_3_1 .') AND B.bStatus IN (0, 1)'; } + $query_5 = ''; if($hash == null) { $query_5.= ' GROUP BY B.bHash'; } @@ -389,7 +390,9 @@ class BookmarkService { $row['tags'] = $b2tservice->getTagsForBookmark(intval($row['bId'])); $bookmarks[] = $row; } - return array ('bookmarks' => $bookmarks, 'total' => $total); + + $output = array ('bookmarks' => $bookmarks, 'total' => $total); + return $output; } function deleteBookmark($bookmarkid) { |