Fix registration with password see #2141

pull/2487/head
Julio 7 years ago
parent 6107c6b3de
commit 8c30f6f141
  1. 2
      main/auth/courses.php
  2. 3
      main/auth/courses_controller.php

@ -192,6 +192,8 @@ switch ($action) {
$searchTerm,
isset($_POST['category_code']) ? $_POST['category_code'] : ''
);
header('Location: '.api_get_self());
exit;
break;
case 'createcoursecategory':
$courses_controller->categories_list($action);

@ -259,6 +259,9 @@ class CoursesController
Display::addFlash(
Display::return_message($result['message'], 'normal', false)
);
if (isset($result['content'])) {
Display::addFlash($result['content']);
}
}
}
}

Loading…
Cancel
Save