preg_split has a little different way of specifying its associated regex. Instead of
you'll need to specify a starting and ending character in the regex for the function to work properly:Code:$shipping = $this->determineShipping(preg_split("[:,]" , constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TABLE_' . $j)));
Code:$shipping = $this->determineShipping(preg_split("/[:,]/" , constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TABLE_' . $j)));


Reply With Quote

