From 6d2e8ff08f3ca630ce70d6c8b366d473e0ac98e4 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 --- 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); } }