mirror of
https://github.com/dg/dibi.git
synced 2025-08-07 22:56:35 +02:00
- binary unescape doesn't throw exceptions more
This commit is contained in:
@@ -242,6 +242,9 @@ class DibiMsSqlDriver 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