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:
0ceea71
)
CRM-19681, fixed static function notice error
author
Pradeep Nayak
<pradpnayak@gmail.com>
Wed, 23 Nov 2016 14:21:18 +0000
(19:51 +0530)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Wed, 23 Nov 2016 14:21:18 +0000
(19:51 +0530)
----------------------------------------
* CRM-19681: date fields not respected when passed through url for report
https://issues.civicrm.org/jira/browse/CRM-19681
CRM/Report/Utils/Get.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Utils/Get.php
b/CRM/Report/Utils/Get.php
index 8befb0a580dbca55cd48e43c7b286902d1f20454..21005661f3fe1926cc8ea5e6e0108fed28c0571a 100644
(file)
--- a/
CRM/Report/Utils/Get.php
+++ b/
CRM/Report/Utils/Get.php
@@
-71,7
+71,7
@@
class CRM_Report_Utils_Get {
$defaults["{$fieldName}_relative"] = $relative;
}
if ($relative) {
- list($from, $to) = CRM_
Report_Form
::getFromTo($relative, NULL, NULL);
+ list($from, $to) = CRM_
Utils_Date
::getFromTo($relative, NULL, NULL);
$from = substr($from, 0, 8);
$to = substr($to, 0, 8);
}