Explorar el Código

Minor improvements to reporting - refs BT#7066

Yannick Warnier hace 11 años
padre
commit
ca7a7c3559
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      main/admin/course_intro_pdf_import.php

+ 1 - 0
main/admin/course_intro_pdf_import.php

@@ -147,6 +147,7 @@ function import_pdfs($file, $subDir = '/') {
             }
         } else {
             error_log($parts[0].' is not a course, apparently');
+            $errors[] = array('Line' => 0, 'Code' => $parts[0], 'Title' => $parts[0].' - '.get_lang('CodeDoesNotExists'));
         }
     }
     return $errors;