mirror of
https://github.com/dg/dibi.git
synced 2025-08-26 15:34:22 +02:00
* update DibiVariableInterface
* some bugs fixed
This commit is contained in:
@@ -312,7 +312,7 @@ final class DibiTranslator extends NObject
|
||||
return 'NULL';
|
||||
|
||||
if ($value instanceof DibiVariableInterface)
|
||||
return $value->toSql($this->driver);
|
||||
return $value->toSql($this->driver, NULL);
|
||||
|
||||
$this->hasError = TRUE;
|
||||
return '**Unexpected ' . gettype($value) . '**';
|
||||
|
Reference in New Issue
Block a user