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/bookmark2tagservice.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'services/bookmark2tagservice.php') diff --git a/services/bookmark2tagservice.php b/services/bookmark2tagservice.php index 148ad3a..121ba8d 100644 --- a/services/bookmark2tagservice.php +++ b/services/bookmark2tagservice.php @@ -266,7 +266,8 @@ class Bookmark2TagService { message_die(GENERAL_ERROR, 'Could not get related tags', '', __LINE__, __FILE__, $query, $this->db); return false; } - return $this->db->sql_fetchrowset($dbresult); + $output = $this->db->sql_fetchrowset($dbresult); + return $output; } // Returns the most popular tags used for a particular bookmark hash @@ -322,7 +323,8 @@ class Bookmark2TagService { return false; } - return $this->db->sql_fetchrowset($dbresult); + $output = $this->db->sql_fetchrowset($dbresult); + return $output; } function hasTag($bookmarkid, $tag) { @@ -366,7 +368,8 @@ class Bookmark2TagService { function &tagCloud($tags = NULL, $steps = 5, $sizemin = 90, $sizemax = 225, $sortOrder = NULL) { if (is_null($tags) || count($tags) < 1) { - return false; + $output = false; + return $output; } $min = $tags[count($tags) - 1]['bCount']; -- cgit v1.2.3