diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-01-21 11:22:11 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-01-21 11:22:11 -0500 |
| commit | 91cd0a283eb2a6ca07f8c905f64062c5106e69cd (patch) | |
| tree | 38691217dc3145e6ef38f06a3535316bc459362f /comments_inc.php | |
| parent | 2a60a4d2e27f7c023a008c28167be47ccfa777ce (diff) | |
| download | liberty-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.php | 2 |
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(); |
