Skip to content

Commit

Permalink
Merge pull request #86 from seasoftjapan/#85
Browse files Browse the repository at this point in the history
SC_CartSession::getAllProductsPoint() で Warning 発生 #85
  • Loading branch information
ryo-endo authored Oct 26, 2017
2 parents d426b62 + 49d3bcf commit 8e94868
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions data/class/SC_CartSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@ public function getAllProductsPoint($productTypeId)
}
$point_rate = $this->cartSession[$productTypeId][$i]['point_rate'];

if (!isset($this->cartSession[$productTypeId][$i]['id'][0])) {
$this->cartSession[$productTypeId][$i]['id'][0] = '';
}
$point = SC_Utils_Ex::sfPrePoint($price, $point_rate);
$total+= ($point * $quantity);
}
Expand Down

0 comments on commit 8e94868

Please sign in to comment.