diff --git a/src/admin/groups.php b/src/admin/groups.php index b1a13dc..41e8548 100644 --- a/src/admin/groups.php +++ b/src/admin/groups.php @@ -331,9 +331,10 @@ if ( isset($_POST['op']) ) else { // Add new Group now! - $result = DB_Query("INSERT INTO " . DB_GROUPS . " (groupname, groupdescription) + $result = DB_Query("INSERT INTO " . DB_GROUPS . " (groupname, groupdescription, grouptype) VALUES ( '" . $content['groupname'] . "', - '" . $content['groupdescription'] . "' )"); + '" . $content['groupdescription'] . "', + 0 )"); DB_FreeQuery($result); // Do the final redirect @@ -523,4 +524,4 @@ $page -> parser($content, "admin/admin_groups.html"); $page -> output(); // --- -?> \ No newline at end of file +?>