From: Eileen McNaughton Date: Mon, 18 Jul 2022 09:30:16 +0000 (+0100) Subject: dev/core#3737 ensure tasks are loaded X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1e28b3d7223f24623be7adb1d9566f25ad00ed51;p=civicrm-core.git dev/core#3737 ensure tasks are loaded --- diff --git a/CRM/Contribute/Task.php b/CRM/Contribute/Task.php index 2bc1fcf177..52434ccba3 100644 --- a/CRM/Contribute/Task.php +++ b/CRM/Contribute/Task.php @@ -186,6 +186,8 @@ class CRM_Contribute_Task extends CRM_Core_Task { $tasks = self::taskTitles(); } else { + // See https://lab.civicrm.org/dev/core/-/issues/3737 + static::tasks(); $tasks = [ self::TASK_EXPORT => self::$_tasks[self::TASK_EXPORT]['title'], self::TASK_EMAIL => self::$_tasks[self::TASK_EMAIL]['title'],