mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 21:28:02 +02:00
DibiFluent: prevents doubled processing
This commit is contained in:
@@ -188,6 +188,7 @@ class DibiFluent extends DibiObject implements IDataSource
|
|||||||
|
|
||||||
foreach ($args as $arg) {
|
foreach ($args as $arg) {
|
||||||
if ($arg instanceof self) {
|
if ($arg instanceof self) {
|
||||||
|
$this->cursor[] = '%SQL';
|
||||||
$arg = "($arg)";
|
$arg = "($arg)";
|
||||||
}
|
}
|
||||||
$this->cursor[] = $arg;
|
$this->cursor[] = $arg;
|
||||||
|
Reference in New Issue
Block a user