summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorLouis Racicot <lracicot@phpcreation.com>2013-03-05 21:29:51 +0100
committerLouis Racicot <lracicot@phpcreation.com>2013-03-05 21:29:51 +0100
commit2d33e22c0af65963d7617374427814846f419a2e (patch)
tree7cbddc8630db914020f7bcb04346bb82fa5a04ab /system/libraries
parentd8efc9559c0fdd4cb75f621042eb028a762fd984 (diff)
Add unicode support in cart product name for unicode 00C000 to 00E01F.
Diffstat (limited to 'system/libraries')
-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 b7b0697fb..86c11d6f6 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -51,7 +51,7 @@ class CI_Cart {
*
* @var string
*/
- public $product_name_rules = '\.\:\-_ a-z0-9';
+ public $product_name_rules = '\.\:\-_ a-zA-ZĄ-’0-9';
/**
* only allow safe product names
@@ -544,4 +544,4 @@ class CI_Cart {
}
/* End of file Cart.php */
-/* Location: ./system/libraries/Cart.php */ \ No newline at end of file
+/* Location: ./system/libraries/Cart.php */