ChangeSet ID: 30978 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/03/16 19:53:17
Modified files: . : appsubmit.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Fix handling of rejected applications
Patch: http://cvs.winehq.org/patch.py?id=30978
Old revision New revision Changes Path 1.64 1.65 +3 -2 appdb/appsubmit.php
Index: appdb/appsubmit.php diff -u -p appdb/appsubmit.php:1.64 appdb/appsubmit.php:1.65 --- appdb/appsubmit.php:1.64 17 Mar 2007 0:53:17 -0000 +++ appdb/appsubmit.php 17 Mar 2007 0:53:17 -0000 @@ -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");