aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2019-01-13 14:06:36 -0500
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2019-01-13 14:06:36 -0500
commit121fa834d56ab3496c82d4d6c5fd8ba70743c26a (patch)
treed5c81764569c030bbf3c4000d7a9bc0a91716deb /include/zot.php
parent9e42dfd09426e8621098d17a5eef17674345f374 (diff)
downloadvolse-hubzilla-121fa834d56ab3496c82d4d6c5fd8ba70743c26a.tar.gz
volse-hubzilla-121fa834d56ab3496c82d4d6c5fd8ba70743c26a.tar.bz2
volse-hubzilla-121fa834d56ab3496c82d4d6c5fd8ba70743c26a.zip
FIX: aggregated query error in MYSQL
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 6d9b6aeec..f2aa58ee7 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 *,min(outq_created) as earliest from outq where outq_posturl = '%s'",
+ $x = q("select * from outq order by outq_scheduled where outq_posturl = '%s' limit 1",
dbesc($data['callback'])
);