From 9621810332280a82e7ba944b345cca397833c4bb Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 21 Nov 2014 21:59:03 +0100 Subject: [PATCH] Fixed syntax error --- src/Routes/Posts/GetPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Routes/Posts/GetPost.php b/src/Routes/Posts/GetPost.php index 650ad8f8..722817a4 100644 --- a/src/Routes/Posts/GetPost.php +++ b/src/Routes/Posts/GetPost.php @@ -35,7 +35,7 @@ class GetPost extends AbstractPostRoute { $this->privilegeService->assertPrivilege(Privilege::VIEW_POSTS); - $post = $this->postService->getByNameOrId($this->getArgument(postNameOrId)); + $post = $this->postService->getByNameOrId($this->getArgument('postNameOrId')); return $this->postViewProxy->fromEntity($post, $this->getFullFetchConfig()); } }