Cleaning up some left over unnamed parameter in Form methods.

This commit is contained in:
Martin Kamerbeek 2005-08-12 17:52:49 +00:00
parent 92114cacbc
commit e2f7a9740e
4 changed files with 31 additions and 8 deletions

View file

@ -106,11 +106,14 @@ sub www_editProfileCategory {
);
$f->readOnly(
-name => $session{form}{cid},
-label => WebGUI::International::get(469,"WebGUIProfile");
-label => WebGUI::International::get(469,"WebGUIProfile"),
);
%data = WebGUI::SQL->quickHash("select * from userProfileCategory where profileCategoryId=".quote($session{form}{cid}));
} else {
$f->hidden("cid","new");
$f->hidden(
-name => "cid",
-value => "new"
);
}
$f->text(
-name => "categoryName",