appdb/include downloadurl.php

WineHQ wineowner at wine.codeweavers.com
Wed Jan 17 21:21:27 CST 2007


ChangeSet ID:	30889
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/17 21:21:27

Modified files:
	include        : downloadurl.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Code changes to fix issues that appear to affect php4 but not php5

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

Old revision  New revision  Changes     Path
 1.9           1.10          +4 -1       appdb/include/downloadurl.php

Index: appdb/include/downloadurl.php
diff -u -p appdb/include/downloadurl.php:1.9 appdb/include/downloadurl.php:1.10
--- appdb/include/downloadurl.php:1.9	18 Jan 2007  3:21:27 -0000
+++ appdb/include/downloadurl.php	18 Jan 2007  3:21:27 -0000
@@ -303,7 +303,10 @@ class downloadurl
     function processFormSingle($iVersionId, $aValues, $bUnQueue = FALSE)
     {
         if($hResult = appData::getData($iVersionId, "downloadurl", TRUE, TRUE))
-            $iId = mysql_fetch_object($hResult)->id;
+        {
+            $oObject = mysql_fetch_object($hResult);
+            $iId = $oObject->id;
+        }
 
         $oDownloadurl = new downloadurl($iId);
 



More information about the wine-cvs mailing list