Fix for a call by reference.

This commit is contained in:
skeeter 2002-04-10 18:30:33 +00:00
parent 475489d2d2
commit 5a609ab5da

View File

@ -119,7 +119,7 @@
}
/* Inverse of above, convert sql column types to array info */
function rTranslateType($sType, $iPrecision = 0, $iScale = 0, &$sTranslated)
function rTranslateType($sType, $iPrecision = 0, $iScale = 0, &$sTranslated = '')
{
$sTranslated = '';
if ($sType == 'int' || $sType == 'tinyint' || $sType == 'smallint' || $sType == 'bigint')
@ -245,7 +245,7 @@
$prec = $scales[0];
$scale = $scales[1];
}
$this->rTranslateType($colinfo[0], $prec, $scale, &$type);
$this->rTranslateType($colinfo[0], $prec, $scale, $type);
if ($oProc->m_odb->f(2) == 'YES')
{