From 05236adf0f1dd821c14ae0ffed2aaa08b9c606a2 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 6 Nov 2010 14:40:19 -0700 Subject: notification email on follow activities --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/photos.php b/mod/photos.php index f3eccd127..91642229d 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1025,7 +1025,7 @@ function photos_content(&$a) { $a->set_pager_total(count($r)); - $r = q("SELECT `resource-id`, `id`, `filename`, `album`, max(`scale`) AS `scale` FROM `photo` + $r = q("SELECT `resource-id`, `id`, `filename`, `album`, max(`scale`) AS `scale` FROM `photo` WHERE `uid` = %d AND `album` != '%s' $sql_extra GROUP BY `resource-id` ORDER BY `created` DESC LIMIT %d , %d", intval($a->data['user']['uid']), -- cgit v1.2.3