Skip to content

Commit

Permalink
andWhere
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed Oct 22, 2015
1 parent dcee8da commit ef81d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PServerCMS/Entity/Repository/UserExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function deleteExtension(UserInterface $user, $key = null)
->setParameter('user', $user);

if ($key) {
$query->where('p.key = :key')
$query->andWhere('p.key = :key')
->setParameter('key', $key);
}

Expand Down

0 comments on commit ef81d7b

Please sign in to comment.