From 2d33e22c0af65963d7617374427814846f419a2e Mon Sep 17 00:00:00 2001 From: Louis Racicot Date: Tue, 5 Mar 2013 15:29:51 -0500 Subject: Add unicode support in cart product name for unicode 00C000 to 00E01F. --- system/libraries/Cart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/libraries/Cart.php') 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 */ -- cgit v1.2.3-24-g4f1b