1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-04 13:17:58 +02:00

DibiFluent: prevents doubled processing

This commit is contained in:
David Grudl
2015-10-26 14:29:03 +01:00
parent e4acc4a2c8
commit aaa5abd4b6

View File

@@ -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;