From e914a335fcef2127addabb59302811c61b2acc11 Mon Sep 17 00:00:00 2001 From: Thibault Dockx <thibault.dockx@fusiondirectory.org> Date: Tue, 12 Nov 2024 16:06:22 +0000 Subject: [PATCH] :sparkles: (CORE) - adds static array choices for repeatable options Repeatable options are static array values and mandatory. --- plugins/workflow/tasks/class_tasks.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/workflow/tasks/class_tasks.inc b/plugins/workflow/tasks/class_tasks.inc index 3eb266fc7..b181c6849 100644 --- a/plugins/workflow/tasks/class_tasks.inc +++ b/plugins/workflow/tasks/class_tasks.inc @@ -83,7 +83,8 @@ class tasks extends simplePlugin ), new SelectAttribute( _('Repeatable Schedule'), _('Select the desired schedule.'), - 'fdTasksRepeatableSchedule', FALSE, ['Yearly', 'Monthly', 'Weekly', 'Daily', 'Hourly'], 'Daily' + 'fdTasksRepeatableSchedule', TRUE, ['Yearly', 'Monthly', 'Weekly', 'Daily', 'Hourly'], 'Daily', + ['Yearly', 'Monthly', 'Weekly', 'Daily', 'Hourly'] ), ] ], -- GitLab