Revision 1213
Added by MaGnaL almost 15 years ago
groups.php | ||
---|---|---|
35 | 35 |
exit(0); |
36 | 36 |
} |
37 | 37 |
|
38 |
// Set parameter 'action' as alternative to javascript mechanism |
|
39 |
if(isset($_POST['modify'])) |
|
40 |
$_POST['action'] = "modify"; |
|
41 |
if(isset($_POST['delete'])) |
|
42 |
$_POST['action'] = "delete"; |
|
43 |
|
|
38 | 44 |
// Check if group group_id is a valid number and doesnt equal 1 |
39 | 45 |
if(!isset($_POST['group_id']) OR !is_numeric($_POST['group_id']) OR $_POST['group_id'] == 1) { |
40 | 46 |
header("Location: index.php"); |
Also available in: Unified diff
Ticket #827: Fix false form-parameter when javascript is deactivated on users and groups temps (admintool).