mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
SQL typo mod/message
Mistake in previous commit
This commit is contained in:
parent
1058b28cea
commit
6be6badd91
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ function get_messages($user, $lstart, $lend) {
|
|||
ANY_VALUE(`mail`.`reply`), ANY_VALUE(`mail`.`replied`), ANY_VALUE(`mail`.`unknown`),
|
||||
ANY_VALUE(`mail`.`uri`), ANY_VALUE(`mail`.`parent-uri`), ANY_VALUE(`mail`.`created`),
|
||||
ANY_VALUE(`contact`.`name`), ANY_VALUE(`contact`.`url`), ANY_VALUE(`contact`.`thumb`), ANY_VALUE(`contact`.`network`),
|
||||
count( * ) as count
|
||||
FROM `mail` LEFT JOIN `contact` ON `mail`.`contact-id` = `contact`.`id`
|
||||
WHERE `mail`.`uid` = %d GROUP BY `parent-uri` ORDER BY `mailcreated` DESC LIMIT %d , %d ",
|
||||
intval($user), intval($lstart), intval($lend)
|
||||
|
|
Loading…
Reference in a new issue