From af877bfc70b697441ad21cdd8186b65ba27485db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 6 Jan 2007 01:08:35 +0000 Subject: [PATCH] processForm needs to be passed the $aClean array --- admin/editAppVersion.php | 2 +- include/downloadurl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;