Code changes to fix issues that appear to affect php4 but not php5

This commit is contained in:
Chris Morgan
2007-01-18 03:21:27 +00:00
committed by WineHQ
parent 92546b2041
commit 465f5aa58a

View File

@@ -303,7 +303,10 @@ class downloadurl
function processFormSingle($iVersionId, $aValues, $bUnQueue = FALSE) function processFormSingle($iVersionId, $aValues, $bUnQueue = FALSE)
{ {
if($hResult = appData::getData($iVersionId, "downloadurl", TRUE, TRUE)) 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); $oDownloadurl = new downloadurl($iId);