mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
Db\DbQuery: add "deep" clone support
Still far from being complete, Zend_Db_Select makes life really hard for us. More to come...
This commit is contained in:
parent
7eb960ea0b
commit
90f1ab06b4
@ -313,6 +313,13 @@ class DbQuery extends SimpleQuery
|
|||||||
. "\n\n";
|
. "\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function __clone()
|
||||||
|
{
|
||||||
|
if ($this->select) {
|
||||||
|
$this->select = clone $this->select;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user