Commit 6e539313 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Get rid of clean_requestdata calls

parent fa2ba745
......@@ -28,7 +28,6 @@ define('INTERNAL', 1);
define('ADMIN', 1);
require(dirname(dirname(__FILE__)) . '/init.php');
//$itemid = clean_requestdata('itemid', PARAM_INT, REQUEST_EITHER);
$itemid = param_variable('itemid');
$result = array();
......
......@@ -28,7 +28,7 @@ define('INTERNAL', 1);
define('ADMIN', 1);
require(dirname(dirname(__FILE__)) . '/init.php');
$pagename = clean_requestdata('pagename', PARAM_ALPHAEXT, REQUEST_EITHER);
$pagename = param_alpha('pagename');
$data['pagename'] = $pagename;
try {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment