|
|
|
|
@ -154,7 +154,7 @@ class GroupManager |
|
|
|
|
{ |
|
|
|
|
$places = $category['max_student']; |
|
|
|
|
} |
|
|
|
|
$sql = "INSERT INTO ".$table_group." SET category_id='".$category_id."', max_student = '".$places."', doc_state = '".$category['doc_state']."', self_registration_allowed = '".$category['self_reg_allowed']."', self_unregistration_allowed = '".$category['self_unreg_allowed']."'"; |
|
|
|
|
$sql = "INSERT INTO ".$table_group." SET category_id='".$category_id."', max_student = '".$places."', doc_state = '".$category['doc_state']."', calendar_state = '".$category['calendar_state']."', work_state = '".$category['work_state']."', announcements_state = '".$category['announcements_state']."', self_registration_allowed = '".$category['self_reg_allowed']."', self_unregistration_allowed = '".$category['self_unreg_allowed']."'"; |
|
|
|
|
api_sql_query($sql,__FILE__,__LINE__); |
|
|
|
|
$lastId = mysql_insert_id(); |
|
|
|
|
/*$secret_directory = uniqid("")."_team_".$lastId; |
|
|
|
|
|