mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
add_group() was not getting $form before using it.
This commit is contained in:
@@ -145,6 +145,7 @@ class Admin_Users_Controller extends Controller {
|
||||
|
||||
public function add_group() {
|
||||
access::verify_csrf();
|
||||
$form = group::get_add_form_admin();
|
||||
$valid = $form->validate();
|
||||
if ($valid) {
|
||||
$new_name = $form->add_group->inputs["name"]->value;
|
||||
|
||||
Reference in New Issue
Block a user