summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-04-24 20:28:39 +0000
committerRobin Millette <millette@controlyourself.ca>2009-04-24 20:28:39 +0000
commitd71fbe9d9693cd5426be74807ff8f18fc6376c56 (patch)
tree9880fbe840c925098a7dda7182d800c327798304
parentf2f4e8c5868ef7fee694590c17bacec4e01e3b9b (diff)
fixed subscriptions dropdown action
-rw-r--r--lib/galleryaction.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/galleryaction.php b/lib/galleryaction.php
index 0484918ce..8fa11a756 100644
--- a/lib/galleryaction.php
+++ b/lib/galleryaction.php
@@ -134,9 +134,11 @@ class GalleryAction extends Action
$this->elementStart('li', array('id'=>'filter_tags_item'));
$this->elementStart('form', array('name' => 'bytag',
'id' => 'bytag',
+ 'action' => common_path('?action=' . $this->trimmed('action')),
'method' => 'post'));
$this->dropdown('tag', _('Tag'), $content,
_('Choose a tag to narrow list'), false, $tag);
+ $this->hidden('nickname', $this->user->nickname);
$this->submit('submit', _('Go'));
$this->elementEnd('form');
$this->elementEnd('li');
@@ -169,4 +171,4 @@ class GalleryAction extends Action
{
return array();
}
-} \ No newline at end of file
+}