mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
'blob'-columns need some special attention in the new quote()-function.
Note that there is no need to use BlobDecode() on read, since adodb does it automagically.
This commit is contained in:
parent
34b6b1e7a7
commit
7f85671046
@ -783,6 +783,11 @@
|
|||||||
{
|
{
|
||||||
$this->connect();
|
$this->connect();
|
||||||
}
|
}
|
||||||
|
switch($type)
|
||||||
|
{
|
||||||
|
case 'blob':
|
||||||
|
return "'" . $this->Link_ID->BlobEncode($value) . "'";
|
||||||
|
}
|
||||||
return $this->Link_ID->quote($value);
|
return $this->Link_ID->quote($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user