diff options
author | Christian Weiske <cweiske@cweiske.de> | 2013-03-17 22:22:16 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2013-03-17 22:22:16 +0100 |
commit | d0ed9adec8084b193c3429b664a408b2a3f6b71c (patch) | |
tree | 4aac4ba43ff3bcfb4f4994ed126638f99e68a9bf /src/SemanticScuttle/Service/Bookmark.php | |
parent | defe7c0035061b2e46095dca5ed72b209ad16852 (diff) | |
download | semanticscuttle-d0ed9adec8084b193c3429b664a408b2a3f6b71c.tar.gz semanticscuttle-d0ed9adec8084b193c3429b664a408b2a3f6b71c.tar.bz2 |
remove php4-style object reference passing
Diffstat (limited to 'src/SemanticScuttle/Service/Bookmark.php')
-rw-r--r-- | src/SemanticScuttle/Service/Bookmark.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php index 17ab7ba..faeecc2 100644 --- a/src/SemanticScuttle/Service/Bookmark.php +++ b/src/SemanticScuttle/Service/Bookmark.php @@ -90,7 +90,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService . ' "' . $this->db->sql_escape($value) .'"' . $range; - if (!($dbresult = & $this->db->sql_query_limit($query, 1, 0))) { + if (!($dbresult = $this->db->sql_query_limit($query, 1, 0))) { message_die( GENERAL_ERROR, 'Could not get bookmark', '', __LINE__, __FILE__, @@ -148,7 +148,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService . $query_2 .' WHERE B.bId = '. $this->db->sql_escape($bid); - if (!($dbresult = & $this->db->sql_query($sql))) { + if (!($dbresult = $this->db->sql_query($sql))) { message_die( GENERAL_ERROR, 'Could not get bookmark', '', __LINE__, __FILE__, $sql, $this->db @@ -630,7 +630,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService . ' WHERE bId = ' . intval($bId); $this->db->sql_transaction('begin'); - if (!($dbresult = & $this->db->sql_query($sql))) { + if (!($dbresult = $this->db->sql_query($sql))) { $this->db->sql_transaction('rollback'); message_die( GENERAL_ERROR, 'Could not update bookmark', |