summaryrefslogtreecommitdiff
path: root/comments_inc.php
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2020-08-06 10:37:55 -0400
committerspiderr <spiderr@bitweaver.org>2020-08-06 10:37:55 -0400
commitf7224556c109c2e09563ae428a46e110a4064c8c (patch)
tree4ca13606fb9185b5f63d74708552c0daeaa54a1e /comments_inc.php
parent62186f55e2f81e6634415bce3c69d0ed7cf8825b (diff)
downloadliberty-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.php4
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;
}