From 60d450f9f2291ad86701df84d65b710767b8eb7c Mon Sep 17 00:00:00 2001
From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Fri, 22 Nov 2013 17:11:09 +0100
Subject: [PATCH] Variable names are case-independent...

---
 rules_shipping_base.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules_shipping_base.php b/rules_shipping_base.php
index 658c6b6..34dc491 100644
--- a/rules_shipping_base.php
+++ b/rules_shipping_base.php
@@ -766,7 +766,7 @@ class ShippingRule {
 			case 'shipping': $this->shipping = $value; $this->includes_tax = False; break;
 			case 'shippingwithtax': $this->shipping = $value; $this->includes_tax = True; break;
 			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 'comment': break; // Completely ignore all comments!
 			case 'condition': $this->conditions[] = $value; break;
-- 
GitLab