Skip to content

Commit

Permalink
Merge pull request #24010 from eileenmcnaughton/task_notice
Browse files Browse the repository at this point in the history
dev/core#3737 ensure tasks are loaded (notice fix)
  • Loading branch information
eileenmcnaughton authored Jul 25, 2022
2 parents d073132 + 1e28b3d commit 3d3fa36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Contribute/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ public static function permissionedTaskTitles($permission, $params = []) {
$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'],
Expand Down

0 comments on commit 3d3fa36

Please sign in to comment.