appdb/. preferences.php

WineHQ wineowner at wine.codeweavers.com
Wed Jun 21 00:37:48 CDT 2006


ChangeSet ID:	25917
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/06/21 00:37:48

Modified files:
	.              : preferences.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Fix preferences page.  It is $_REQUEST and $_POST, not $REQUEST and $POST

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

Old revision  New revision  Changes     Path
 1.22          1.23          +9 -9       appdb/preferences.php

Index: appdb/preferences.php
diff -u -p appdb/preferences.php:1.22 appdb/preferences.php:1.23
--- appdb/preferences.php:1.22	21 Jun 2006  5:37:48 -0000
+++ appdb/preferences.php	21 Jun 2006  5:37:48 -0000
@@ -11,15 +11,15 @@ include(BASE."include/"."incl.php");
 
 $aClean = array(); //array of filtered user input
 
-$aClean['userId'] = makeSafe($REQUEST['userId']);
-$aClean['iLimit'] = makeSafe($REQUEST['iLimit']);
-$aClean['sOrderBy'] = makeSafe($REQUEST['sOrderBy']);
-$aClean['ext_password'] = makeSafe($REQUEST['ext_password']);
-$aClean['ext_password2'] = makeSafe($REQUEST['ext_password2']);
-$aClean['ext_email'] = makeSafe($REQUEST['ext_email']);
-$aClean['ext_realname'] = makeSafe($REQUEST['ext_realname']);
-$aClean['CVSrelease'] = makeSafe($REQUEST['CVSrelease']);
-$aClean['ext_hasadmin'] = makeSafe($POST['ext_hasadmin']); 
+$aClean['userId'] = makeSafe($_REQUEST['userId']);
+$aClean['iLimit'] = makeSafe($_REQUEST['iLimit']);
+$aClean['sOrderBy'] = makeSafe($_REQUEST['sOrderBy']);
+$aClean['ext_password'] = makeSafe($_REQUEST['ext_password']);
+$aClean['ext_password2'] = makeSafe($_REQUEST['ext_password2']);
+$aClean['ext_email'] = makeSafe($_REQUEST['ext_email']);
+$aClean['ext_realname'] = makeSafe($_REQUEST['ext_realname']);
+$aClean['CVSrelease'] = makeSafe($_REQUEST['CVSrelease']);
+$aClean['ext_hasadmin'] = makeSafe($_POST['ext_hasadmin']); 
 
 /* filter all of the preferences */
 while(list($key, $value) = each($_REQUEST))



More information about the wine-cvs mailing list