diff --git a/Controller/UserController.php b/Controller/UserController.php index 19c90e5..ac9445d 100644 --- a/Controller/UserController.php +++ b/Controller/UserController.php @@ -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); }