// Details
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15219 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -407,7 +407,7 @@ class ValidateCore
|
|||||||
*/
|
*/
|
||||||
public static function isPasswd($passwd, $size = 5)
|
public static function isPasswd($passwd, $size = 5)
|
||||||
{
|
{
|
||||||
return (Tools::strlen($passwd) > $size && Tools::strlen($passwd) < 255);
|
return (Tools::strlen($passwd) >= $size && Tools::strlen($passwd) < 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function isPasswdAdmin($passwd)
|
public static function isPasswdAdmin($passwd)
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class ParentOrderControllerCore extends FrontController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('Voucher name invalid.');
|
$this->errors[] = Tools::displayError('This voucher does not exists');
|
||||||
}
|
}
|
||||||
$this->context->smarty->assign(array(
|
$this->context->smarty->assign(array(
|
||||||
'errors' => $this->errors,
|
'errors' => $this->errors,
|
||||||
|
|||||||
Reference in New Issue
Block a user