aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-06 14:40:19 -0700
committerFriendika <info@friendika.com>2010-11-06 14:40:19 -0700
commit05236adf0f1dd821c14ae0ffed2aaa08b9c606a2 (patch)
treedd45b42e0ab5850f4981b08c10e72da4381060e8 /mod/photos.php
parent964ca0e07995de67c65c7916e1c8ce9706edb9da (diff)
downloadvolse-hubzilla-05236adf0f1dd821c14ae0ffed2aaa08b9c606a2.tar.gz
volse-hubzilla-05236adf0f1dd821c14ae0ffed2aaa08b9c606a2.tar.bz2
volse-hubzilla-05236adf0f1dd821c14ae0ffed2aaa08b9c606a2.zip
notification email on follow activities
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
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']),