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 #17201 from civicrm/5.25
[civicrm-core.git]
/
CRM
/
Report
/
BAO
/
ReportInstance.php
diff --git
a/CRM/Report/BAO/ReportInstance.php
b/CRM/Report/BAO/ReportInstance.php
index e42a566ee96ea5c7d0ab3243e9156a93a2a63d79..a0950787c1badafceedcd0cf678376df7d07fd21 100644
(file)
--- a/
CRM/Report/BAO/ReportInstance.php
+++ b/
CRM/Report/BAO/ReportInstance.php
@@
-114,10
+114,10
@@
class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
*/
public static function &create(&$params) {
if (isset($params['report_header'])) {
*/
public static function &create(&$params) {
if (isset($params['report_header'])) {
- $params['header'] = $params['report_header']
?? NULL
;
+ $params['header'] = $params['report_header'];
}
if (isset($params['report_footer'])) {
}
if (isset($params['report_footer'])) {
- $params['footer'] = $params['report_footer']
?? NULL
;
+ $params['footer'] = $params['report_footer'];
}
// build navigation parameters
}
// build navigation parameters
@@
-144,7
+144,7
@@
class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
unset($params['is_navigation']);
}
unset($params['is_navigation']);
}
- $viewMode = !empty($params['view_mode'])
? $params['view_mode'] : FALSE
;
+ $viewMode = !empty($params['view_mode']);
if ($viewMode) {
// Do not save to the DB - it's saved in the url.
unset($params['view_mode']);
if ($viewMode) {
// Do not save to the DB - it's saved in the url.
unset($params['view_mode']);