summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-04 11:42:37 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-04 11:42:37 -0800
commit8ca69cffbba70fe22e19478f742a37bdbd758d83 (patch)
tree712a69eef7d134d7ad2ea2668d30fda44914beff /modules/tag/helpers
parent5743b159c28888f2165cc4269d3302fea24fde7a (diff)
parent5c107be9033ae48f781c8430702458f613e791ee (diff)
Merge branch 'master' into talmdal_dev
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 feaf40c5..89a27034 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"));