[AppDB] Fix e-mail about vendor change

"Alexander N. Sørnes" alex at thehandofagony.com
Sun Apr 16 08:50:17 CDT 2006


Fix an error in the e-mail sent by the AppDB when the vendor of an 
application is changed; it now displays both the old and new vendor 
instead of the old vendor twice.


Regards,

Alexander N. Sørnes
-------------- next part --------------
Index: include/application.php
===================================================================
RCS file: /home/wine/appdb/include/application.php,v
retrieving revision 1.43
diff -u -p -r1.43 application.php
--- include/application.php	22 Feb 2006 02:20:02 -0000	1.43
+++ include/application.php	16 Apr 2006 13:40:52 -0000
@@ -188,7 +188,7 @@ class Application {
                 return false;
             $oVendorBefore = new Vendor($oApp->iVendorId);
             $oVendorAfter = new Vendor($this->iVendorId);
-            $sWhatChanged .= "Vendor was changed from ".$oVendorBefore->sName." to ".$oVendorBefore->sName.".\n\n";
+            $sWhatChanged .= "Vendor was changed from ".$oVendorBefore->sName." to ".$oVendorAfter->sName.".\n\n";
         }
 
         if ($this->iCatId && ($this->iCatId!=$oApp->iCatId))


More information about the wine-patches mailing list