aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-05 17:53:23 -0700
committerfriendica <info@friendica.com>2012-05-05 17:53:23 -0700
commit49ccefd6c7add622ba84c72769a68d08ef043ef5 (patch)
tree6fa993f409b6ac1a49e730b13a859b089fd2570b /mod/message.php
parent8ae83201cf8f3c943972a8f246b7972aa640afb4 (diff)
downloadvolse-hubzilla-49ccefd6c7add622ba84c72769a68d08ef043ef5.tar.gz
volse-hubzilla-49ccefd6c7add622ba84c72769a68d08ef043ef5.tar.bz2
volse-hubzilla-49ccefd6c7add622ba84c72769a68d08ef043ef5.zip
bad sql left after the mailbox in/out merge
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php
index dbca45930..aa8851e46 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -198,7 +198,7 @@ function message_content(&$a) {
$o .= $header;
$r = q("SELECT count(*) AS `total` FROM `mail`
- WHERE `mail`.`uid` = %d AND `from-url` $eq '%s' GROUP BY `parent-uri` ORDER BY `created` DESC",
+ WHERE `mail`.`uid` = %d GROUP BY `parent-uri` ORDER BY `created` DESC",
intval(local_user()),
dbesc($myprofile)
);