]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Rewrite this API-usage or at least keep backticks in for SQL-compatiblity.
authorRoland Haeder <roland@mxchange.org>
Sat, 6 Feb 2016 19:16:36 +0000 (20:16 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:43 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
classes/Queue_item.php

index d83c896a28d71dcd29062a79cd683109bd4a375b..0b85a211fc3c97d4129363bdcdd237d754e9328e 100644 (file)
@@ -89,7 +89,7 @@ class Queue_item extends Managed_DataObject
     function releaseClaim()
     {
         // DB_DataObject doesn't let us save nulls right now
-        $sql = sprintf("UPDATE queue_item SET claimed=NULL WHERE id=%d", $this->getID());
+        $sql = sprintf("UPDATE `queue_item` SET `claimed`=NULL WHERE `id`=%d", $this->getID());
         $this->query($sql);
 
         $this->claimed = null;