Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnucki committed Apr 15, 2015
1 parent 83fce54 commit 4267d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function getFromUsernameAction($username)
$user = $userManager->findUserBy(array('username' => $username, 'authSpace' => $authspace->getId()));

if (null === $user) {
$view = $this->view(array('error' => sprintf('User "%s" not found', $username), 404);
$view = $this->view(array('error' => sprintf('User "%s" not found', $username)), 404);
} else {
$view = $this->view(array('id' => $user->getId()), 200);
}
Expand Down

0 comments on commit 4267d16

Please sign in to comment.