From 2756e3f85818346a478725b6dd94a966e0d92c07 Mon Sep 17 00:00:00 2001 From: mensonge Date: Sat, 10 May 2008 08:59:41 +0000 Subject: Bug fixes: correct minor bugs appearing with 'notice' level in PHP git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@122 b3834d28-1941-0410-a4f8-b48e95affb8f --- services/bookmarkservice.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'services/bookmarkservice.php') 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) { -- cgit v1.2.3-54-g00ecf