diff --git a/dibi/libs/DibiFluent.php b/dibi/libs/DibiFluent.php index c2546930..7d696761 100644 --- a/dibi/libs/DibiFluent.php +++ b/dibi/libs/DibiFluent.php @@ -188,6 +188,7 @@ class DibiFluent extends DibiObject implements IDataSource foreach ($args as $arg) { if ($arg instanceof self) { + $this->cursor[] = '%SQL'; $arg = "($arg)"; } $this->cursor[] = $arg;