New Zenner
- Join Date:
- Jan 2009
- Posts:
- 5
- Plugin Contributions:
- 0
[Done v1.3.9] Bug in ot_shipping prevents tax_basis flag from working correctly
Sorry to bother you because I am most probably wrong and this is not a bug, I thought I better post it just in case. I haven't found any post on this subject.
In Zencart 1.3.8, ot_shipping.php, at line 61, we have:
if (!defined($GLOBALS[$module]->tax_basis)) {
The thing is, left like that, no matter what I choose in the admin, I always get the default "Store" basis for shipping tax calculation, because the property always evaluates as not defined.
I changed this for:
if (!isset($GLOBALS[$module]->tax_basis)) {
And it seems to work as it should. Am I doing somehting wrong?