Skip to content

Commit

Permalink
Issue #81 Fix coding standard issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TomoTsuyuki committed Nov 21, 2023
1 parent a438c78 commit 39993db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ public static function duplicate_to_course(array $modules, int $targetcourseid,
$errors = [];
foreach ($idsincourseorder as $cmid) {
try {
$duplicatedmod = massactionutils::duplicate_cm_to_course($targetmodinfo->get_course(), $sourcemodinfo->get_cm($cmid));
$duplicatedmod = massactionutils::duplicate_cm_to_course($targetmodinfo->get_course(),
$sourcemodinfo->get_cm($cmid));
} catch (\Exception $e) {
$errors[$cmid] = 'cmid:' . $cmid . '(' . $e->getMessage() . ')';
$event = \block_massaction\event\course_modules_duplicated_failed::create([
Expand Down

0 comments on commit 39993db

Please sign in to comment.