appdb/. appsubmit.php

WineHQ wineowner at wine.codeweavers.com
Fri Jun 23 23:07:42 CDT 2006


ChangeSet ID:	26010
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/06/23 23:07:42

Modified files:
	.              : appsubmit.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Disable hackish looking "we've got errors message" since we'll display human readable errors later on.

Patch: http://cvs.winehq.org/patch.py?id=26010

Old revision  New revision  Changes     Path
 1.41          1.42          +4 -4       appdb/appsubmit.php

Index: appdb/appsubmit.php
diff -u -p appdb/appsubmit.php:1.41 appdb/appsubmit.php:1.42
--- appdb/appsubmit.php:1.41	24 Jun 2006  4: 7:42 -0000
+++ appdb/appsubmit.php	24 Jun 2006  4: 7:42 -0000
@@ -177,9 +177,9 @@ if ($aClean['sub'])
             }
         }
 
+        /* if we have errors go back to 'view' mode */
         if(!empty($errors))
         {
-            addmsg("we've got Errors???:".$errors.":");
             $aClean['sub'] = 'view';
         } 
         else
@@ -206,9 +206,9 @@ if ($aClean['sub'])
             }
             $oTest->iVersionId = $oVersion->iVersionId;
             if(is_numeric($oTest->iTestingId))
-	    {
-	        $oTest->update(true);
-	        $oTest->ReQueue();
+            {
+                $oTest->update(true);
+                $oTest->ReQueue();
             } else 
             {
                 $oTest->create();



More information about the wine-cvs mailing list