Zen Cart Logo
Forums / Bug Reports / [Done 1.5.2] Calculate Tax var assignment operator in ot_gv.php

[Done 1.5.2] Calculate Tax var assignment operator in ot_gv.php

Locked

Views: 902

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
11 Apr 2014, 8:52 PM
#1
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

[Done 1.5.2] Calculate Tax var assignment operator in ot_gv.php

Not sure if this is a bug or not, but this line of code, still present in v1.6.0 as well looks to be incorrect:

line 76:

if ($this->calculate_tax = "Standard") $order->info['total'] -= $tax; 

Should it be:

 if ($this->calculate_tax == "Standard") $order->info['total'] -= $tax;