Enable filtering in commentview.php and deletecomment.php
This commit is contained in:
@@ -13,15 +13,10 @@
|
||||
// application environment
|
||||
include("path.php");
|
||||
require(BASE."include/incl.php");
|
||||
require(BASE."include/filter.php");
|
||||
require(BASE."include/application.php");
|
||||
require(BASE."include/mail.php");
|
||||
|
||||
$aClean = array(); //array of filtered user input
|
||||
|
||||
$aClean['sWhy'] = makeSafe($_REQUEST['sWhy']);
|
||||
$aClean['iCommentId'] = makeSafe($_REQUEST['iCommentId']);
|
||||
$aClean['iDeleteIt'] = makeSafe($_REQUEST['iDeleteIt']);
|
||||
|
||||
$oComment = new Comment($aClean['iCommentId']);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user