summaryrefslogtreecommitdiff
path: root/services/bookmarkservice.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-04 14:00:16 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-04 14:00:16 +0000
commit68298638472af19eccb8a19c77f05609e7fcf4d7 (patch)
tree1f203ac78acb7562a067edb55339f1b4c6666a98 /services/bookmarkservice.php
parentc0e46287e41ac5be4c4832c915c8e2ba78b9a1d5 (diff)
downloadsemanticscuttle-68298638472af19eccb8a19c77f05609e7fcf4d7.tar.gz
semanticscuttle-68298638472af19eccb8a19c77f05609e7fcf4d7.tar.bz2
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
Diffstat (limited to 'services/bookmarkservice.php')
-rw-r--r--services/bookmarkservice.php6
1 files changed, 5 insertions, 1 deletions
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;
}