summaryrefslogtreecommitdiff
path: root/lib/gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gallery.php')
-rw-r--r--lib/gallery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.php b/lib/gallery.php
index 0ac9fd4ef..4ba9cbd2f 100644
--- a/lib/gallery.php
+++ b/lib/gallery.php
@@ -109,7 +109,7 @@ class GalleryAction extends Action {
$lim);
if ($display == 'list') {
- $profile_list = new ProfileList($other);
+ $profile_list = new ProfileList($other, $profile);
$cnt = $profile_list->show_list();
} else {
$cnt = $this->icon_list($other);