[-] MO : productComments - Fixed deprecated function
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8285 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
7dec5e6793
commit
44976ee2eb
1 file changed
+1
-1
@@ -63,7 +63,7 @@ elseif (Tools::getValue('action') AND Tools::getValue('secure_key') == $productC
|
|||||||
$content = $entry->value;
|
$content = $entry->value;
|
||||||
elseif (preg_match("/grade/", $entry->key))
|
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);
|
$grades[] = array('id' => $id['0']['0'], 'grade' => $entry->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user