appdb/. vendorview.php

WineHQ wineowner at wine.codeweavers.com
Fri Jul 7 12:35:26 CDT 2006


ChangeSet ID:	26336
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/07/07 12:35:26

Modified files:
	.              : vendorview.php 

Log message:
	Jonathan Ernst <jonathan at ernstfamily.ch>
	Enable filtering in vendorview.php

Patch: http://cvs.winehq.org/patch.py?id=26336

Old revision  New revision  Changes     Path
 1.20          1.21          +1 -4       appdb/vendorview.php

Index: appdb/vendorview.php
diff -u -p appdb/vendorview.php:1.20 appdb/vendorview.php:1.21
--- appdb/vendorview.php:1.20	7 Jul 2006 17:35:26 -0000
+++ appdb/vendorview.php	7 Jul 2006 17:35:26 -0000
@@ -8,13 +8,10 @@
  */ 
 include("path.php");
 require_once(BASE."include/incl.php");
+require_once(BASE."include/filter.php");
 require_once(BASE."include/application.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']);
 
 if ($aClean['sSub'])



More information about the wine-cvs mailing list