diff options
author | 2008-05-10 08:59:41 +0000 | |
---|---|---|
committer | 2008-05-10 08:59:41 +0000 | |
commit | 2756e3f85818346a478725b6dd94a966e0d92c07 (patch) | |
tree | efad4c6566773670dc5f9a8b733f2a3ed3fe4a57 /services/bookmark2tagservice.php | |
parent | e273c0d367da161651324eca1b7e4177c670c91f (diff) | |
download | scuttle-2756e3f85818346a478725b6dd94a966e0d92c07.tar.gz scuttle-2756e3f85818346a478725b6dd94a966e0d92c07.zip |
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
Diffstat (limited to 'services/bookmark2tagservice.php')
-rw-r--r-- | services/bookmark2tagservice.php | 9 |
1 files changed, 6 insertions, 3 deletions
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']; |