diff --git a/admin/editAppVersion.php b/admin/editAppVersion.php index bfad083..8b896ca 100644 --- a/admin/editAppVersion.php +++ b/admin/editAppVersion.php @@ -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 */ { diff --git a/include/downloadurl.php b/include/downloadurl.php index b626085..6d281d9 100644 --- a/include/downloadurl.php +++ b/include/downloadurl.php @@ -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;