Revision 1426
Added by Dietmar almost 14 years ago
add.php | ||
---|---|---|
33 | 33 |
} |
34 | 34 |
|
35 | 35 |
// Get details entered |
36 |
$groups_id = implode(",", $admin->add_slashes($_POST['groups'])); //should check permissions
|
|
36 |
$groups_id = (isset($_POST['groups'])) ? implode(",", $admin->add_slashes($_POST['groups'])) : ''; //should check permissions
|
|
37 | 37 |
$groups_id = trim($groups_id, ','); // there will be an additional ',' when "Please Choose" was selected, too |
38 | 38 |
$active = $admin->add_slashes($_POST['active'][0]); |
39 | 39 |
$username_fieldname = $admin->get_post_escaped('username_fieldname'); |
Also available in: Unified diff
validation fixes