Project

General

Profile

« Previous | Next » 

Revision 24

Added by stefan over 19 years ago

Undoing changes from r21 on

View differences:

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
}
48 44

  
49 45
// Get system and module permissions
50 46
require(ADMIN_PATH.'/groups/get_permissions.php');

Also available in: Unified diff