diff options
Diffstat (limited to 'services/bookmarkservice.php')
| -rw-r--r-- | services/bookmarkservice.php | 6 | 
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;  	}  | 
