summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-29 18:38:40 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-29 18:38:40 +0000
commit3c0be5156bd1f429e45f3eba4d97ea02217e55ee (patch)
tree55affa7335eeac9b6e10c4c9e7726aa6a444f6a7 /modules/tag/helpers
parent62cd05fb168b45e03cdca17add141e6651328373 (diff)
url::site is implicit in Forge actions, don't specify it a 2nd time
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 b6d39213..e1cb9ec6 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -80,7 +80,7 @@ class tag_Core {
}
public static function get_add_form($item) {
- $form = new Forge(url::site("tags"), "", "post", array("id" => "gAddTagForm"));
+ $form = new Forge("tags", "", "post", array("id" => "gAddTagForm"));
$group = $form->group("add_tag")->label(_("Add Tag"));
$group->input("tag_name")->label(_("Add tag"));
$group->hidden("item_id")->value($item->id);