From 3c0be5156bd1f429e45f3eba4d97ea02217e55ee Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 29 Dec 2008 18:38:40 +0000 Subject: url::site is implicit in Forge actions, don't specify it a 2nd time --- modules/tag/helpers/tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tag/helpers') 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); -- cgit v1.2.3