From 39993dbcece0904d6b30bf29d4c6ce9ab9d8a140 Mon Sep 17 00:00:00 2001 From: Tomo Tsuyuki Date: Mon, 23 Oct 2023 10:09:00 +1100 Subject: [PATCH] Issue #81 Fix coding standard issue --- classes/actions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/actions.php b/classes/actions.php index af3d913..fe70891 100644 --- a/classes/actions.php +++ b/classes/actions.php @@ -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([