Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,067
- Plugin Contributions:
- 56
Edit Orders v4.0 Support Thread
swguy:
Suggestion on admin/includes/classes/editOrders.php
instead of
$ot_tax_class = constant ($ot_tax_class_name);
>
> use
>
> ```
$ot_tax_class = null;
if (defined($ot_tax_class_name)) {
$ot_tax_class = constant ($ot_tax_class_name);
}
to prevent a PHP Warning in case the tax class doesn't exist.
Thanks @swguy; I've created an issue in the Edit Orders GitHub repository to track. Could you provide details regarding how to reproduce the error?