From 44976ee2eb4cbe9706db1076f10dd19ccaad7320 Mon Sep 17 00:00:00 2001 From: bMancone Date: Wed, 31 Aug 2011 14:08:27 +0000 Subject: [PATCH] [-] MO : productComments - Fixed deprecated function git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8285 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/productcomments/productcomments-ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/productcomments/productcomments-ajax.php b/modules/productcomments/productcomments-ajax.php index 53284af12..a146b4ce4 100644 --- a/modules/productcomments/productcomments-ajax.php +++ b/modules/productcomments/productcomments-ajax.php @@ -63,7 +63,7 @@ elseif (Tools::getValue('action') AND Tools::getValue('secure_key') == $productC $content = $entry->value; elseif (preg_match("/grade/", $entry->key)) { - $id = array(split("_", $entry->key)); + $id = array(preg_split("/_/", $entry->key)); $grades[] = array('id' => $id['0']['0'], 'grade' => $entry->value); } }