From 49b1e9b78a73647d38542f837fbcfa1458d65fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 17 Mar 2007 00:53:17 +0000 Subject: [PATCH] Fix handling of rejected applications --- appsubmit.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appsubmit.php b/appsubmit.php index 031a1af..1d6dbfa 100644 --- a/appsubmit.php +++ b/appsubmit.php @@ -271,10 +271,11 @@ if ($aClean['sSub']) } if ($aClean['sSub'] == 'view' && - ($aClean['sAppName'] || $aClean['sAppType'] != "application")) + ($aClean['sAppName'] || $aClean['iAppId'] || $aClean['sAppType'] != "application")) { /* The appname is already entered in the potential duplicates step */ - $oApp->sName = $aClean['sAppName']; + if(!$oApp->sName) + $oApp->sName = $aClean['sAppName']; $x = new TableVE("view"); apidb_header("Application Queue");