Permalink
Browse files

Fix same input issue for adding a post

  • Loading branch information...
CraigChilds94 committed Feb 26, 2016
1 parent 90a6c32 commit 29ac0e0f1fa73983321104222b9301268aacb5cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 anchor/routes/posts.php
@@ -252,7 +252,7 @@
$input['author'] = $user->id;
if(is_null($input['comments'])) {
if(empty($input['comments'])) {
$input['comments'] = 0;
}

0 comments on commit 29ac0e0

Please sign in to comment.