summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-25 13:40:47 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-25 13:40:47 -0800
commitf50dbd992d6973caeaaa3139ddf5f908dd84ec79 (patch)
treecbdb343de89306a4ed823dc5aa104a802f846dc4 /modules/tag/helpers
parent2e420522ece22942a9b3b6ee413ca0e1dfa76148 (diff)
parentdc67cf64813361b34c366123f37d88ef6988fcc8 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts: modules/gallery/controllers/rest.php
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php
index 6ce18625..8558ac30 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -101,7 +101,7 @@ class tag_Core {
}
static function get_add_form($item) {
- $form = new Forge("tags", "", "post", array("id" => "g-add-tag-form", "class" => "g-short-form"));
+ $form = new Forge("tags/create/{$item->id}", "", "post", array("id" => "g-add-tag-form", "class" => "g-short-form"));
$label = $item->is_album() ?
t("Add tag to album") :
($item->is_photo() ? t("Add tag to photo") : t("Add tag to movie"));