mirror of
https://github.com/dg/dibi.git
synced 2025-10-21 17:58:02 +02:00
- binary unescape doesn't throw exceptions more
This commit is contained in:
@@ -320,6 +320,9 @@ class DibiMySqlDriver extends DibiObject implements IDibiDriver
|
||||
*/
|
||||
public function unescape($value, $type)
|
||||
{
|
||||
if ($type === dibi::BINARY) {
|
||||
return $value;
|
||||
}
|
||||
throw new InvalidArgumentException('Unsupported type.');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user