Merge branch 'master' into loops

This commit is contained in:
Etienne Roudeix
2013-08-28 15:08:49 +02:00
5 changed files with 123 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Admin extends BaseAdmin implements UserInterface
\Thelia\Log\Tlog::getInstance()->debug($password);
if ($this->isNew() && ($password === null || trim($password) == "")) {
throw new InvalidArgumentException("customer password is mandatory on creation");
throw new \InvalidArgumentException("customer password is mandatory on creation");
}
if($password !== null && trim($password) != "") {

View File

@@ -17,7 +17,6 @@ class Category extends BaseCategory
public function getUrl()
{
}
/**