Regenerate doctrine entities and proxies

This commit is contained in:
Romain Neutron
2013-06-17 15:05:20 +02:00
parent 241705a568
commit 88c3df2ef7
60 changed files with 2141 additions and 1842 deletions

View File

@@ -148,7 +148,7 @@ class BasketRepository extends EntityRepository
if ($basket->getOwner($app)->get_id() != $user->get_id()) {
$participant = false;
if ($basket->getValidation() && ! $requireOwner) {
if ($basket->getValidation() && !$requireOwner) {
try {
$basket->getValidation()->getParticipant($user, $app);
$participant = true;
@@ -156,7 +156,7 @@ class BasketRepository extends EntityRepository
}
}
if ( ! $participant) {
if (!$participant) {
throw new AccessDeniedHttpException(_('You have not access to this basket'));
}
}