We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37134c8 commit d0d5d60Copy full SHA for d0d5d60
public/main/admin/course_user_import.php
@@ -174,7 +174,7 @@ function parse_csv_data($file)
174
if (0 == count($errors)) {
175
$inserted_in_course = save_data($users_courses);
176
// Build the alert message in case there were visual codes subscribed to.
177
- if ($_POST['subscribe']) {
+ if (isset($_POST['subscribe']) && $_POST['subscribe']) {
178
//$warn = get_lang('The users have been subscribed to the following courses because several courses share the same visual code').': ';
179
} else {
180
$warn = get_lang('The users have been unsubscribed from the following courses because several courses share the same visual code').': ';
0 commit comments