projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #17636 from MikeyMJCO/patch-5
[civicrm-core.git]
/
CRM
/
PCP
/
Form
/
PCP.php
diff --git
a/CRM/PCP/Form/PCP.php
b/CRM/PCP/Form/PCP.php
index cb7482a3ffb3e2a9688aa14a75b87e9cf5267e44..d9fbcb7c697525037e0b9e015da0abe00694989e 100644
(file)
--- a/
CRM/PCP/Form/PCP.php
+++ b/
CRM/PCP/Form/PCP.php
@@
-43,8
+43,8
@@
class CRM_PCP_Form_PCP extends CRM_Core_Form {
}
if (!$this->_action) {
}
if (!$this->_action) {
- $this->_action =
CRM_Utils_Array::value('action', $_GET)
;
- $this->_id =
CRM_Utils_Array::value('id', $_GET)
;
+ $this->_action =
$_GET['action'] ?? NULL
;
+ $this->_id =
$_GET['id'] ?? NULL
;
}
else {
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
}
else {
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);