diff --git a/courses-managing-plugin.php b/courses-managing-plugin.php index e5d827e..e1904b4 100644 --- a/courses-managing-plugin.php +++ b/courses-managing-plugin.php @@ -17,8 +17,7 @@ ****************************************************************************** Change Log: -<<<<<<< HEAD -3.8.8: Fix Training Permissions +3.8.8: Fix Training Permissions and run course 3.8.7: Show Me Notification PLZ 3.8.6: Updater skip bad release 3.8.5: Work on updater reactivation diff --git a/templates/run_course.inc.php b/templates/run_course.inc.php index 3a4bd15..45dec37 100644 --- a/templates/run_course.inc.php +++ b/templates/run_course.inc.php @@ -9,6 +9,8 @@ //join the post values into comma separated (values from arrays) if (!empty($_POST['part_code'])) {$part_code = mysql_real_escape_string(implode(',', $_POST['part_code']));} if (!empty($_POST['part_paid'])) {$part_paid = mysql_real_escape_string(implode(',', $_POST['part_paid']));} + if (!empty($_POST['part_comp'])) {$part_comp = mysql_real_escape_string(implode(',', $_POST['part_comp']));} + if (!empty($_POST['part_cert'])) {$part_cert = mysql_real_escape_string(implode(',', $_POST['part_cert']));} if (!empty($_POST['eval'])) {$eval = mysql_real_escape_string(implode(',', $_POST['eval']));} if (!empty($_POST['task_cost'])) {$task_cost = mysql_real_escape_string(implode(',', $_POST['task_cost']));} if (!empty($_POST['task_done'])) {$task_done = mysql_real_escape_string(implode(',', $_POST['task_done']));} @@ -82,6 +84,8 @@ 'status'=> $_POST['course_status'], 'part_code'=> $part_code, 'part_paid'=> $part_paid, + 'part_comp'=> $part_comp, + 'part_cert'=> $part_cert, 'eval'=> $eval, 'task_cost' => $task_cost, 'task_done' => $task_done,