Enable filtering in vendorview.php
This commit is contained in:
@@ -8,13 +8,10 @@
|
|||||||
*/
|
*/
|
||||||
include("path.php");
|
include("path.php");
|
||||||
require_once(BASE."include/incl.php");
|
require_once(BASE."include/incl.php");
|
||||||
|
require_once(BASE."include/filter.php");
|
||||||
require_once(BASE."include/application.php");
|
require_once(BASE."include/application.php");
|
||||||
require_once(BASE."include/vendor.php");
|
require_once(BASE."include/vendor.php");
|
||||||
|
|
||||||
$aClean = array(); //array of filtered user input
|
|
||||||
$aClean['iVendorId'] = makeSafe($_REQUEST['iVendorId']);
|
|
||||||
$aClean['sSub'] = makeSafe($_REQUEST['sSub']);
|
|
||||||
|
|
||||||
$oVendor = new Vendor($aClean['iVendorId']);
|
$oVendor = new Vendor($aClean['iVendorId']);
|
||||||
|
|
||||||
if ($aClean['sSub'])
|
if ($aClean['sSub'])
|
||||||
|
|||||||
Reference in New Issue
Block a user