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

Variable names are case-independent...

parent b589bcaa
No related branches found
No related tags found
No related merge requests found
...@@ -766,7 +766,7 @@ class ShippingRule { ...@@ -766,7 +766,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 'variable': // Variable=... is the same as Definition=... case 'variable': // Variable=... is the same as Definition=...
case 'definition': $this->name = $value; $this->is_definition = True; break; case 'definition': $this->name = strtolower($value); $this->is_definition = True; break;
case 'value': $this->shipping = $value; break; // definition values are also stored in the shipping member! case 'value': $this->shipping = $value; break; // definition values are also stored in the shipping member!
case 'comment': break; // Completely ignore all comments! case 'comment': break; // Completely ignore all comments!
case 'condition': $this->conditions[] = $value; break; case 'condition': $this->conditions[] = $value; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment