This commit is contained in:
Mike Jolley 2018-01-11 15:01:07 +00:00
parent 2e2e5d60e5
commit 0363312084
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class WC_Discounts {
* @return int
*/
public function get_discounted_price_in_cents( $item ) {
return absint( round($item->price - $this->get_discount( $item->key, true )) );
return absint( round( $item->price - $this->get_discount( $item->key, true ) ) );
}
/**