This commit is contained in:
Rémi Gaillard committed 2013-07-18 18:34:10 +02:00
1 parent 354622857f
commit ac02e5191a
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -942,9 +942,8 @@ abstract class ObjectModelCore
if (!empty($value))
{
$res = true;
if (Tools::strtolower($data['validate']) == 'isCleanHtml')
if (Tools::strtolower($data['validate']) == 'iscleanhtml')
{
d('in');
if (!call_user_func(array('Validate', $data['validate']), $value, (int)Configuration::get('PS_ALLOW_HTML_IFRAME')))
$res = false;
}