ChangeSet ID: 30855 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/01/05 19:08:35
Modified files: admin : editAppVersion.php include : downloadurl.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com processForm needs to be passed the $aClean array
Patch: http://cvs.winehq.org/patch.py?id=30855
Old revision New revision Changes Path 1.43 1.44 +1 -1 appdb/admin/editAppVersion.php 1.1 1.2 +1 -1 appdb/include/downloadurl.php
Index: appdb/admin/editAppVersion.php diff -u -p appdb/admin/editAppVersion.php:1.43 appdb/admin/editAppVersion.php:1.44 --- appdb/admin/editAppVersion.php:1.43 6 Jan 2007 1: 8:35 -0000 +++ appdb/admin/editAppVersion.php 6 Jan 2007 1: 8:35 -0000 @@ -16,7 +16,7 @@ if(!$_SESSION['current']->hasPriv("admin if(!empty($aClean['sSubmit'])) { process_app_version_changes(true); - downloadurl::processForm($_REQUEST); + downloadurl::processForm($aClean); util_redirect_and_exit(apidb_fullurl("appview.php?iVersionId=".$aClean['iVersionId'])); } else /* or display the webform for making changes */ { Index: appdb/include/downloadurl.php diff -u -p appdb/include/downloadurl.php:1.1 appdb/include/downloadurl.php:1.2 --- appdb/include/downloadurl.php:1.1 6 Jan 2007 1: 8:35 -0000 +++ appdb/include/downloadurl.php 6 Jan 2007 1: 8:35 -0000 @@ -198,7 +198,7 @@ class downloadurl $sMsg .= "The following changed were made\n\n"; $sMsg .= "$sWhatChanged\n\n";
- mail_appdb("$sEmail, $sSubject, $sMsg"); + mail_appdb($sEmail, $sSubject, $sMsg); }
return TRUE;