Merge pull request #3447 from Alkarex/message-sql-bug

Fix SQL syntax bug in mod message
This commit is contained in:
Michael Vogel 2017-05-07 22:32:21 +02:00 committed by GitHub
commit cb0727743f
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ function message_content(App $a) {
$o .= $header;
$r = q("SELECT count(*) AS `total` FROM `mail`, ANY_VALUE(`created`) AS `created`
$r = q("SELECT count(*) AS `total`, ANY_VALUE(`created`) AS `created` FROM `mail`
WHERE `mail`.`uid` = %d GROUP BY `parent-uri` ORDER BY `created` DESC",
intval(local_user())
);