Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
fix coupon graph
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofBorbis committed Apr 24, 2015
1 parent afcd116 commit 8ea3e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/reports/admin-report.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public function get_order_report_data($args = array())
$data = maybe_unserialize($item->order_coupons);
foreach ($data['order_discount_coupons'] as $coupon) {
if (!in_array($coupon['code'], $coupons[$item->post_date])) {
$results[$item->post_date]->coupons[] = JS_Coupons::get_coupon($coupon['code']);
$results[$item->post_date]->coupons[] = $coupon;
$results[$item->post_date]->usage[$coupon['code']] = 1;
$coupons[$item->post_date][] = $coupon['code'];
} else {
Expand Down

0 comments on commit 8ea3e53

Please sign in to comment.