processForm needs to be passed the $aClean array
This commit is contained in:
committed by
WineHQ
parent
52a155588c
commit
af877bfc70
@@ -16,7 +16,7 @@ if(!$_SESSION['current']->hasPriv("admin") && !$_SESSION['current']->isMaintaine
|
|||||||
if(!empty($aClean['sSubmit']))
|
if(!empty($aClean['sSubmit']))
|
||||||
{
|
{
|
||||||
process_app_version_changes(true);
|
process_app_version_changes(true);
|
||||||
downloadurl::processForm($_REQUEST);
|
downloadurl::processForm($aClean);
|
||||||
util_redirect_and_exit(apidb_fullurl("appview.php?iVersionId=".$aClean['iVersionId']));
|
util_redirect_and_exit(apidb_fullurl("appview.php?iVersionId=".$aClean['iVersionId']));
|
||||||
} else /* or display the webform for making changes */
|
} else /* or display the webform for making changes */
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ class downloadurl
|
|||||||
$sMsg .= "The following changed were made\n\n";
|
$sMsg .= "The following changed were made\n\n";
|
||||||
$sMsg .= "$sWhatChanged\n\n";
|
$sMsg .= "$sWhatChanged\n\n";
|
||||||
|
|
||||||
mail_appdb("$sEmail, $sSubject, $sMsg");
|
mail_appdb($sEmail, $sSubject, $sMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user