diff options
Diffstat (limited to 'lib/gallery.php')
-rw-r--r-- | lib/gallery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.php b/lib/gallery.php index 855d710c7..5397138ab 100644 --- a/lib/gallery.php +++ b/lib/gallery.php @@ -101,7 +101,7 @@ class GalleryAction extends Action { 'FROM profile JOIN subscription ' . 'ON profile.id = subscription.' . $lst . ' ' . 'WHERE ' . $usr . ' = ' . $profile->id . ' ' . - 'AND ' . $lst . ' != ' . $usr . ' ' . + 'AND subscriber != subscribed ' . 'ORDER BY subscription.created DESC ' . $lim); |