Commit bd341925 authored by Benjamin Eberlei's avatar Benjamin Eberlei

[DDC-2313] Housekeeping

parent 1c5d14b8
...@@ -1116,16 +1116,10 @@ class QueryBuilder ...@@ -1116,16 +1116,10 @@ class QueryBuilder
} }
} }
$params = array(); foreach ($this->params as $name => $param) {
foreach ($this->params as $param) {
if(is_object($param)){ if(is_object($param)){
$params[] = clone $param; $this->params[$name] = clone $param;
} else {
$params[] = $param;
} }
} }
$this->params = $params;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment