diff --git a/phpgwapi/inc/class.db.inc.php b/phpgwapi/inc/class.db.inc.php index 6767acd58e..fe6b464d23 100644 --- a/phpgwapi/inc/class.db.inc.php +++ b/phpgwapi/inc/class.db.inc.php @@ -783,6 +783,11 @@ { $this->connect(); } + switch($type) + { + case 'blob': + return "'" . $this->Link_ID->BlobEncode($value) . "'"; + } return $this->Link_ID->quote($value); }