diff --git a/modules/eanmanager/ajax.php b/modules/eanmanager/ajax.php index c7d05f1c..d2761a96 100755 --- a/modules/eanmanager/ajax.php +++ b/modules/eanmanager/ajax.php @@ -15,7 +15,7 @@ if((Tools::getValue('token') === Tools::getAdminToken('AdminEANManager'.(int) Ta exit; } - if(!Validate::isEan13($value)) { + if(!Validate::isReference($value)) { echo json_encode(array('result' => 'FORMAT')); exit; }