From 8c4e3b76114513b15766f822d968ede4e7ca5d84 Mon Sep 17 00:00:00 2001 From: "raja.lmsace@gmail.com" Date: Sat, 13 Apr 2024 11:15:02 +0530 Subject: [PATCH] Moodle plugin CI Fixed. --- automation/instances/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automation/instances/edit.php b/automation/instances/edit.php index e5e1dd9..e8fe498 100644 --- a/automation/instances/edit.php +++ b/automation/instances/edit.php @@ -135,7 +135,8 @@ // Convert the trigger conditions to separate element. $conditions = $record->triggerconditions; foreach ($conditions as $condition) { - $record->{'condition['.$condition.'][status]'} = ($condition == 'events') ? condition_base::FUTURE : condition_base::ALL; + $record->{'condition['.$condition.'][status]'} = ($condition == 'events') ? condition_base::FUTURE + : condition_base::ALL; } // Set the template data to the templates edit form. $templatesform->set_data($record);