diff --git a/mod/lesson/importppt.php b/mod/lesson/importppt.php index c5130737871..128000606ee 100644 --- a/mod/lesson/importppt.php +++ b/mod/lesson/importppt.php @@ -230,7 +230,7 @@ function extract_data($pages, $courseid, $lessonname, $modname) { }*/ foreach ($imgs[2] as $img) { copy($path_parts['dirname'].'/'.$img, $imagedir.'/'.$img); - $page->images[] = ""; // comment out this line if you are using the above foreach loop + $page->images[] = ""; // comment out this line if you are using the above foreach loop } for($i = 0; $i < count($matches[1]); $i++) { // go through all of our div matches