summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
diff options
context:
space:
mode:
authorLouis Racicot <lracicot@phpcreation.com>2013-03-11 14:03:25 +0100
committerLouis Racicot <lracicot@phpcreation.com>2013-03-11 14:03:25 +0100
commit65b8f835e572cc6ff73fe07024ffaa537fee912e (patch)
tree88039271bee199d393050df75ff7bfa60a936e8c /system/libraries/Cart.php
parent025b6465c4baa7ba501b24df64672fd15f779a1a (diff)
reorder rules in product name regex by importance
Diffstat (limited to 'system/libraries/Cart.php')
-rw-r--r--system/libraries/Cart.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index 6e203a8c7..edc300bd7 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -51,7 +51,7 @@ class CI_Cart {
*
* @var string
*/
- public $product_name_rules = '\.\:\- \w';
+ public $product_name_rules = '\w \-\.\:';
/**
* only allow safe product names
@@ -544,4 +544,4 @@ class CI_Cart {
}
/* End of file Cart.php */
-/* Location: ./system/libraries/Cart.php */
+/* Location: ./system/libraries/Cart.php */ \ No newline at end of file