Revision 25
Added by stefan over 19 years ago
add.php | ||
---|---|---|
41 | 41 |
if($group_name == "") { |
42 | 42 |
$admin->print_error($MESSAGE['GROUPS']['GROUP_NAME_BLANK'], $js_back); |
43 | 43 |
} |
44 |
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."groups WHERE name = '$group_name'"); |
|
45 |
if($results->numRows()>0) { |
|
46 |
$admin->print_error($MESSAGE['GROUPS']['GROUP_NAME_EXISTS'], $js_back); |
|
47 |
} |
|
44 | 48 |
|
45 | 49 |
// Get system and module permissions |
46 | 50 |
require(ADMIN_PATH.'/groups/get_permissions.php'); |
Also available in: Unified diff
Resubmitting changeset 23.