From 7d0ac07d61d0a0355bc42e78db1d0a9203292fad Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 8 Dec 2023 13:12:42 +1300 Subject: [PATCH] Do not suppress appropriate notices If getVar is used to get a non-existent property then emitting a notice is the right behaviour --- CRM/Core/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index b41fbf13b0..039b008649 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -2082,7 +2082,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @return mixed */ public function getVar($name) { - return $this->$name ?? NULL; + return $this->$name; } /** -- 2.25.1