Skip to content

Commit c58e103

Browse files
committed
fix
1 parent 4265a8f commit c58e103

File tree

1 file changed

+7
-7
lines changed
  • app/code/core/Mage/Reports/Model/Resource/Report

1 file changed

+7
-7
lines changed

app/code/core/Mage/Reports/Model/Resource/Report/Abstract.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -330,18 +330,18 @@ protected function _getTableDateRangeRelatedSelect(
330330
/**
331331
* Check range dates and transforms it to strings
332332
*
333-
* @param mixed $fromDate
334-
* @param mixed $toDate
333+
* @param mixed $from
334+
* @param mixed $to
335335
* @return Mage_Reports_Model_Resource_Report_Abstract
336336
*/
337-
protected function _checkDates(&$fromDate, &$toDate)
337+
protected function _checkDates(&$from, &$to)
338338
{
339-
if ($fromDate !== null) {
340-
$fromDate = $this->formatDate($fromDate);
339+
if ($from !== null) {
340+
$from = $this->formatDate($from);
341341
}
342342

343-
if ($toDate !== null) {
344-
$toDate = $this->formatDate($toDate);
343+
if ($to !== null) {
344+
$to = $this->formatDate($to);
345345
}
346346

347347
return $this;

0 commit comments

Comments
 (0)