fiw typo in schema model
This commit is contained in:
@@ -87,6 +87,7 @@ class Customer extends BaseCustomer
|
||||
|
||||
public function setPassword($password)
|
||||
{
|
||||
\Thelia\Log\Tlog::getInstance()->debug($password);
|
||||
if ($this->isNew() && ($password === null || trim($password) == "")) {
|
||||
throw new InvalidArgumentException("customer password is mandatory on creation");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user