From 6bf54cb8f62130cdd7f26f6571ab9da3ea3697f4 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 22 Sep 2021 22:24:30 -0400 Subject: [PATCH] null --- Civi/Token/TokenProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Token/TokenProcessor.php b/Civi/Token/TokenProcessor.php index bb066183a3..07e15938fe 100644 --- a/Civi/Token/TokenProcessor.php +++ b/Civi/Token/TokenProcessor.php @@ -432,7 +432,7 @@ class TokenProcessor { $filter = ['crmDate']; } - switch ($filter[0]) { + switch ($filter[0] ?? NULL) { case NULL: return $value; -- 2.25.1