Skip to content

Commit

Permalink
Issue fixed #20128 : Date range returns same start and end date
Browse files Browse the repository at this point in the history
  • Loading branch information
milindsingh authored and mage2pratik committed Mar 6, 2019
1 parent 3345ec4 commit 8874332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public function getDateRange($range, $customStart, $customEnd, $returnObjects =
break;

case 'custom':
$dateStart = $customStart ? $customStart : $dateEnd;
$dateStart = $customStart ? $customStart : $dateStart;
$dateEnd = $customEnd ? $customEnd : $dateEnd;
break;

Expand Down

0 comments on commit 8874332

Please sign in to comment.