From aaa5abd4b69a1109a07aee336246e6d059ec12c2 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Mon, 26 Oct 2015 14:29:03 +0100 Subject: [PATCH] DibiFluent: prevents doubled processing --- dibi/libs/DibiFluent.php | 1 + 1 file changed, 1 insertion(+) 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;