From: Alexandre Alapetite Date: Tue, 11 Apr 2017 23:06:08 +0000 (+0200) Subject: Another GROUP BY fix for MySQL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15a44d945b9219a75e519e6cb4b0563b6ea378f7;p=friendica.git Another GROUP BY fix for MySQL https://github.com/friendica/friendica/issues/3322 --- diff --git a/include/ostatus.php b/include/ostatus.php index ee405397cc..e0ed1df19a 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -724,7 +724,7 @@ class ostatus { } else { $conversations = q("SELECT `oid`, `url`, `uid` FROM `term` WHERE `type` = 7 AND `term` > '%s' - GROUP BY `url`, `uid` ORDER BY `term` DESC", dbesc($start)); + GROUP BY `url`, `uid`, `oid`, `term` ORDER BY `term` DESC", dbesc($start)); } foreach ($conversations AS $conversation) {