Update format of $hidden variables for new K24 form::open
This commit is contained in:
parent
1a0dc96e77
commit
5f53465bd1
@ -105,7 +105,7 @@ class Admin_register_Controller extends Admin_Controller {
|
|||||||
$v->content->group_list[$group->id] = $group->name;
|
$v->content->group_list[$group->id] = $group->name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$hidden = array("csrf" => access::csrf_token());
|
$hidden = array("name" => "csrf", "value" => access::csrf_token());
|
||||||
if (count($v->content->group_list)) {
|
if (count($v->content->group_list)) {
|
||||||
$v->content->group_list =
|
$v->content->group_list =
|
||||||
array("" => t("Choose the default group")) + $v->content->group_list;
|
array("" => t("Choose the default group")) + $v->content->group_list;
|
||||||
|
Reference in New Issue
Block a user