aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2019-01-13 14:41:44 -0500
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2019-01-13 14:41:44 -0500
commitb4c1ca88f32420cc1653e11811bad74d6f0231a5 (patch)
tree8fdc723ef5589efe88b063a9366fee8ddf8952d8 /include/zot.php
parentab074f52fece902d1057f531c5289562a7d5343f (diff)
downloadvolse-hubzilla-b4c1ca88f32420cc1653e11811bad74d6f0231a5.tar.gz
volse-hubzilla-b4c1ca88f32420cc1653e11811bad74d6f0231a5.tar.bz2
volse-hubzilla-b4c1ca88f32420cc1653e11811bad74d6f0231a5.zip
move order by and rewrite similar in update_queue_item()
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 7467eccde..df54f2b27 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -4959,7 +4959,7 @@ function zot_reply_pickup($data) {
// It's possible that we have more than 100 messages waiting to be sent.
// See if there are any more messages in the queue.
- $x = q("select * from outq order by outq_created where outq_posturl = '%s' limit 1",
+ $x = q("select * from outq where outq_posturl = '%s' order by outq_created limit 1",
dbesc($data['callback'])
);