1
0
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:
David Grudl
2009-07-08 12:10:32 +00:00
parent a3f673e82b
commit 0d79d16d2c
9 changed files with 26 additions and 5 deletions

View File

@@ -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.');
}