@@ -265,7 +265,7 @@ |
||
265 | 265 | if($userId === null && !$this->user->isLoggedIn()) { |
266 | 266 | throw new AuthenticationNeededException(); |
267 | 267 | } |
268 | - if ($userId === null) { |
|
268 | + if($userId === null) { |
|
269 | 269 | $userId = $this->user->id; |
270 | 270 | } |
271 | 271 | $job = $this->orm->userJobs->getUserActiveJob($userId); |
@@ -51,7 +51,7 @@ |
||
51 | 51 | $this->template->fiance = $this->model->getFiance($user->id); |
52 | 52 | try { |
53 | 53 | $job = $this->jobModel->getCurrentJob($user->id); |
54 | - } catch (NotWorkingException $e) { |
|
54 | + } catch(NotWorkingException $e) { |
|
55 | 55 | $job = null; |
56 | 56 | } |
57 | 57 | $this->template->job = $job; |