Fix show the message to register for a course successful

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent e0e75b057d
commit 028b53be3e
  1. 6
      main/course_home/course_home.php

@ -172,7 +172,11 @@ if (isset($_GET['action']) && $_GET['action'] == 'subscribe') {
$auth = new Auth();
$msg = $auth->subscribe_user($course_code);
if (!empty($msg)) {
$show_message .= Display::return_message(get_lang($msg));
$show_message .= Display::return_message(
get_lang($msg['message']),
'info',
false
);
}
}
}

Loading…
Cancel
Save