|
@@ -44,7 +44,13 @@ if (isset($_POST['action'])) {
|
|
|
} elseif ($_POST['same_category']) {
|
|
|
$group['category'] = $_POST['group_0_category'];
|
|
|
}
|
|
|
- GroupManager::create_group($group['name'], $group['category'], $group['tutor'], $group['places']);
|
|
|
+
|
|
|
+ GroupManager::create_group(
|
|
|
+ $group['name'],
|
|
|
+ $group['category'],
|
|
|
+ $group['tutor'],
|
|
|
+ $group['places']
|
|
|
+ );
|
|
|
}
|
|
|
$msg = urlencode(count($groups).' '.get_lang('GroupsAdded'));
|
|
|
header('Location: group.php?action=show_msg&msg='.$msg);
|
|
@@ -225,6 +231,7 @@ EOT;
|
|
|
} else {
|
|
|
echo get_lang('NoCategoriesDefined');
|
|
|
}
|
|
|
+
|
|
|
/*
|
|
|
* Show form to generate subgroups
|
|
|
*/
|