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