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