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); } }