11 Apr 2014, 8:52 PM
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;