diff options
| author | spiderr <spiderr@bitweaver.org> | 2020-08-06 10:37:55 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2020-08-06 10:37:55 -0400 |
| commit | f7224556c109c2e09563ae428a46e110a4064c8c (patch) | |
| tree | 4ca13606fb9185b5f63d74708552c0daeaa54a1e /comments_inc.php | |
| parent | 62186f55e2f81e6634415bce3c69d0ed7cf8825b (diff) | |
| download | liberty-f7224556c109c2e09563ae428a46e110a4064c8c.tar.gz liberty-f7224556c109c2e09563ae428a46e110a4064c8c.tar.bz2 liberty-f7224556c109c2e09563ae428a46e110a4064c8c.zip | |
use ['error'][] for all errors
Diffstat (limited to 'comments_inc.php')
| -rw-r--r-- | comments_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comments_inc.php b/comments_inc.php index fbe6ee3..56f289f 100644 --- a/comments_inc.php +++ b/comments_inc.php @@ -72,12 +72,12 @@ if( @BitBase::verifyId( $_REQUEST['post_comment_id'] ) && $gContent->hasUserPerm $postComment['data'] = $editComment->mInfo['data']; $postComment['title'] = $editComment->mInfo['title']; } else { - $formfeedback['error'] = "You do not have permission to edit this comment."; + $formfeedback['error'][] = "You do not have permission to edit this comment."; $editComment = NULL; $post_comment_id = NULL; } } else { - $formfeedback['error'] = "Comment does not exist."; + $formfeedback['error'][] = "Comment does not exist."; $editComment = NULL; $post_comment_id = NULL; } |
