Skip to content
Snippets Groups Projects
Commit fa751668 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Ignore all Comment=... rule parts

parent 0ef19dce
No related branches found
No related tags found
No related merge requests found
...@@ -707,6 +707,7 @@ class ShippingRule { ...@@ -707,6 +707,7 @@ class ShippingRule {
case 'shipping': $this->shipping = $value; $this->includes_tax = False; break; case 'shipping': $this->shipping = $value; $this->includes_tax = False; break;
case 'shippingwithtax': $this->shipping = $value; $this->includes_tax = True; break; case 'shippingwithtax': $this->shipping = $value; $this->includes_tax = True; break;
case 'name': $this->name = $value; 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'); default: JFactory::getApplication()->enqueueMessage(JText::sprintf('VMSHIPMENT_RULES_UNKNOWN_VARIABLE', $var, $rulepart), 'error');
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment