Code changes to fix issues that appear to affect php4 but not php5
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user