mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
Fix SQL syntax bug in mod message
This commit is contained in:
parent
5c77f45bda
commit
02faf42403
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ function message_content(App $a) {
|
||||||
|
|
||||||
$o .= $header;
|
$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",
|
WHERE `mail`.`uid` = %d GROUP BY `parent-uri` ORDER BY `created` DESC",
|
||||||
intval(local_user())
|
intval(local_user())
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue