From 68298638472af19eccb8a19c77f05609e7fcf4d7 Mon Sep 17 00:00:00 2001 From: mensonge Date: Wed, 4 Feb 2009 14:00:16 +0000 Subject: Interface fix: improve referer behaviour (going back to a page) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@248 b3834d28-1941-0410-a4f8-b48e95affb8f --- services/bookmarkservice.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'services') diff --git a/services/bookmarkservice.php b/services/bookmarkservice.php index 1d72bc8..5a0137e 100644 --- a/services/bookmarkservice.php +++ b/services/bookmarkservice.php @@ -107,7 +107,11 @@ class BookmarkService { if (!($dbresult = & $this->db->sql_query($sql))) { message_die(GENERAL_ERROR, 'Could not get vars', '', __LINE__, __FILE__, $sql, $this->db); } - $ouput = ($this->db->sql_fetchfield(0, 0) > 0); + if($this->db->sql_fetchfield(0, 0) > 0) { + $output = true; + } else { + $output = false; + } $this->db->sql_freeresult($dbresult); return $output; } -- cgit v1.2.3-54-g00ecf