more on the bytea-thing ... sometimes less is more ...

This commit is contained in:
Carsten Wolff 2004-03-13 17:57:20 +00:00
parent c863808815
commit a72cb3b1c8

View File

@ -573,18 +573,12 @@
function _fixbytea()
{
foreach($this->_byteaArray as $k => $v)
foreach($this->_byteaArray as $v)
{
$this->Record[$k] = $this->_bytea_decode($this->Record[$k]);
}
foreach($this->_byteaArray as $k => $v)
{
if (!isset($this->Record[$v]))
if ($v)
{
$this->Record = false;
return;
$this->Record[$v] = $this->_bytea_decode($this->Record[$v]);
}
$this->Record[$v] = $this->_bytea_decode($this->fields[$v]);
}
}