Skip to content

Commit

Permalink
Update usercp.module.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sulaiman0dawod committed Apr 6, 2023
1 parent 4ed0aaa commit c391ca0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/usercp.module.php
Expand Up @@ -514,8 +514,15 @@ function _InfoChange()
$PowerBB->_POST['info'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['info'],'trim');
$PowerBB->_POST['year'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['year'],'trim');

$PowerBB->_POST['away_msg'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['away_msg'],'html');
$PowerBB->_POST['website'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['website'],'html');
$PowerBB->_POST['country'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['country'],'html');
$PowerBB->_POST['info'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['info'],'html');
$PowerBB->_POST['year'] = $PowerBB->functions->CleanVariable($PowerBB->_POST['year'],'html');

$PowerBB->_POST['away_msg'] = strip_tags($PowerBB->_POST['away_msg']);
$PowerBB->_POST['website'] = strip_tags($PowerBB->_POST['website']);
$PowerBB->_POST['country'] = strip_tags($PowerBB->_POST['country']);
$PowerBB->_POST['info'] = strip_tags($PowerBB->_POST['info']);
$PowerBB->_POST['year'] = strip_tags($PowerBB->_POST['year']);

Expand Down

0 comments on commit c391ca0

Please sign in to comment.