Fixing a bug introduced by the overhaul of WebGUI::HTMLForm.

This commit is contained in:
Martin Kamerbeek 2004-11-16 15:10:27 +00:00
parent aa9f978e1c
commit 18832fca98
5 changed files with 8 additions and 8 deletions

View file

@ -118,7 +118,7 @@ sub www_editTemplate {
if ($session{form}{tid} eq "new") {
$namespaces = WebGUI::SQL->buildHashRef("select distinct(namespace),namespace
from template order by namespace");
$f->select("namespace",$namespaces,WebGUI::International::get(721),[$session{form}{namespace}]);
$f->selectList("namespace",$namespaces,WebGUI::International::get(721),[$session{form}{namespace}]);
} else {
$f->hidden("namespace",$session{form}{namespace});
}