Enable filtering in commentview.php and deletecomment.php

This commit is contained in:
Jonathan Ernst
2006-07-07 17:16:42 +00:00
committed by WineHQ
parent 005ef5af93
commit e28e2d66fd
2 changed files with 2 additions and 16 deletions

View File

@@ -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']);
/**