forked from extern/egroupware
Fix for a call by reference.
This commit is contained in:
parent
475489d2d2
commit
5a609ab5da
@ -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')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user