// MERGE with 1.4 r7770

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-28 09:20:57 +00:00
parent df255f66c1
commit a875fecb20
968 changed files with 26082 additions and 3937 deletions
+2 -2
View File
@@ -353,9 +353,9 @@ class Tm4b extends Module
private function _postValidation()
{
if (!Tools::getValue('user') || Validate::isGenericName(Tools::getValue('user')) != true)
if (!Tools::getValue('user') || Validate::isGenericName(Tools::getValue('user')) != true)
$this->_postErrors[] = $this->l('Username is mandatory');
elseif (!Tools::getValue('password') || Validate::isPasswd(Tools::getValue('password')) != true)
elseif (!Tools::getValue('password') || Validate::isPasswd(Tools::getValue('password')) != true)
$this->_postErrors[] = $this->l('Password is mandatory');
elseif (!Tools::getValue('route') OR (Tools::getValue('route') != 'GD01' AND Tools::getValue('route') != 'GD02' AND Tools::getValue('route') != 'USS1'))
$this->_postErrors[] = $this->l('Route is mandatory');