diff --git a/rules_shipping_base.php b/rules_shipping_base.php index c2e233bb77df4e48ebf61083b58af063e9f8ad2d..52f4c8ecc09dae01e55fc800795b05400a7dba5e 100644 --- a/rules_shipping_base.php +++ b/rules_shipping_base.php @@ -707,6 +707,7 @@ class ShippingRule { case 'shipping': $this->shipping = $value; $this->includes_tax = False; break; case 'shippingwithtax': $this->shipping = $value; $this->includes_tax = True; break; case 'name': $this->name = $value; break; + case 'comment': break; // Completely ignore all comments! default: JFactory::getApplication()->enqueueMessage(JText::sprintf('VMSHIPMENT_RULES_UNKNOWN_VARIABLE', $var, $rulepart), 'error'); } }