summaryrefslogtreecommitdiff
path: root/comments_inc.php
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2021-01-21 11:22:11 -0500
committerspiderr <spiderr@bitweaver.org>2021-01-21 11:22:11 -0500
commit91cd0a283eb2a6ca07f8c905f64062c5106e69cd (patch)
tree38691217dc3145e6ef38f06a3535316bc459362f /comments_inc.php
parent2a60a4d2e27f7c023a008c28167be47ccfa777ce (diff)
downloadliberty-91cd0a283eb2a6ca07f8c905f64062c5106e69cd.tar.gz
liberty-91cd0a283eb2a6ca07f8c905f64062c5106e69cd.tar.bz2
liberty-91cd0a283eb2a6ca07f8c905f64062c5106e69cd.zip
PHP7 warnings and deprecations
Diffstat (limited to 'comments_inc.php')
-rw-r--r--comments_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/comments_inc.php b/comments_inc.php
index 56f289f..2df90a3 100644
--- a/comments_inc.php
+++ b/comments_inc.php
@@ -183,7 +183,7 @@ if( !empty( $_REQUEST['post_comment_preview'] )) {
if( !empty( $_REQUEST['comment_name'] )) {
$postComment['anon_name'] = $_REQUEST['comment_name'];
}
- $postComment['data'] = $_REQUEST['comment_data'];
+ $postComment['data'] = BitBase::getParameter( $_REQUEST, 'comment_data' );
$postComment['format_guid'] = empty( $_REQUEST['format_guid'])? $gBitSystem->getConfig( 'default_format' ) : $_REQUEST['format_guid'];
$postComment['parsed_data'] = LibertyComment::parseData( $postComment );
$postComment['created'] = time();