appdb/. appsubmit.php

WineHQ wineowner at wine.codeweavers.com
Fri Mar 16 19:53:17 CDT 2007


ChangeSet ID:	30978
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/03/16 19:53:17

Modified files:
	.              : appsubmit.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at 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");



More information about the wine-cvs mailing list