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 5356574d7..fd13ad145 100644
--- a/lib/gallery.php
+++ b/lib/gallery.php
@@ -134,7 +134,7 @@ class GalleryAction extends Action {
$lim);
if ($display == 'list') {
- $profile_list = new ProfileList($other, $profile);
+ $profile_list = new ProfileList($other, $profile, $this->trimmed('action'));
$cnt = $profile_list->show_list();
} else {
$cnt = $this->icon_list($other);