projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a449200
)
Rewrite this API-usage or at least keep backticks in for SQL-compatiblity.
author
Roland Haeder
<roland@mxchange.org>
Sat, 6 Feb 2016 19:16:36 +0000
(20:16 +0100)
committer
Roland 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
patch
|
blob
|
history
diff --git
a/classes/Queue_item.php
b/classes/Queue_item.php
index d83c896a28d71dcd29062a79cd683109bd4a375b..0b85a211fc3c97d4129363bdcdd237d754e9328e 100644
(file)
--- a/
classes/Queue_item.php
+++ b/
classes/Queue_item.php
@@
-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;