mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
more on the bytea-thing ... sometimes less is more ...
This commit is contained in:
parent
c863808815
commit
a72cb3b1c8
@ -573,18 +573,12 @@
|
|||||||
|
|
||||||
function _fixbytea()
|
function _fixbytea()
|
||||||
{
|
{
|
||||||
foreach($this->_byteaArray as $k => $v)
|
foreach($this->_byteaArray as $v)
|
||||||
{
|
{
|
||||||
$this->Record[$k] = $this->_bytea_decode($this->Record[$k]);
|
if ($v)
|
||||||
}
|
|
||||||
foreach($this->_byteaArray as $k => $v)
|
|
||||||
{
|
|
||||||
if (!isset($this->Record[$v]))
|
|
||||||
{
|
{
|
||||||
$this->Record = false;
|
$this->Record[$v] = $this->_bytea_decode($this->Record[$v]);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
$this->Record[$v] = $this->_bytea_decode($this->fields[$v]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user