processForm needs to be passed the $aClean array

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-01-06 01:08:35 +00:00
committed by WineHQ
parent 52a155588c
commit af877bfc70
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ if(!$_SESSION['current']->hasPriv("admin") && !$_SESSION['current']->isMaintaine
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 */
{

View File

@@ -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;