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:
1058bd0
)
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 Haeder
<roland@mxchange.org>
Sat, 6 Feb 2016 19:16:36 +0000
(20:16 +0100)
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 8a2cc87da355b4896bf42e2a6a6463d6b9e8d688..decfde1c4c73d80cc2f20c6d245812b812f4dfbe 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;