Merge remote-tracking branch 'origin/master'

pull/5649/head
Angel Fernando Quiroz Campos 5 months ago
commit 109ad63085
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 2
      public/main/admin/course_add.php

@ -199,7 +199,7 @@ if ($form->validate()) {
$courseData['gradebook_model_id'] = isset($courseData['gradebook_model_id']) ? $courseData['gradebook_model_id'] : null;
if (isset($courseData['duration'])) {
$courseData['duration'] = $courseData['duration'] * 60; // Convert minutes to seconds
$courseData['duration'] = (int) $courseData['duration'] * 60; // Convert minutes to seconds
}
if (!empty($courseData['course_language'])) {

Loading…
Cancel
Save