projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
921a272
)
Do not suppress appropriate notices
author
Eileen McNaughton
<emcnaughton@wikimedia.org>
Fri, 8 Dec 2023 00:12:42 +0000
(13:12 +1300)
committer
Eileen McNaughton
<emcnaughton@wikimedia.org>
Fri, 8 Dec 2023 00:12:42 +0000
(13:12 +1300)
If getVar is used to get a non-existent property then emitting
a notice is the right behaviour
CRM/Core/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index b41fbf13b0aa8d0d1cd4da0b56f40bc211568da1..039b008649d6722181c18f939b4cfeba3f590b93 100644
(file)
--- 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;
}
/**