summaryrefslogtreecommitdiff
path: root/app/Api/Comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/Comment.php')
-rw-r--r--app/Api/Comment.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Api/Comment.php b/app/Api/Comment.php
index a13c36d4..26b632e9 100644
--- a/app/Api/Comment.php
+++ b/app/Api/Comment.php
@@ -33,7 +33,7 @@ class Comment extends \Kanboard\Core\Base
'comment' => $content,
);
- list($valid,) = $this->comment->validateCreation($values);
+ list($valid, ) = $this->comment->validateCreation($values);
return $valid ? $this->comment->create($values) : false;
}
@@ -45,7 +45,7 @@ class Comment extends \Kanboard\Core\Base
'comment' => $content,
);
- list($valid,) = $this->comment->validateModification($values);
+ list($valid, ) = $this->comment->validateModification($values);
return $valid && $this->comment->update($values);
}
}