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