Commit 3fe579b2 authored by catch's avatar catch
Browse files

Issue #1542186 by pp, redcell, rickmanelius: Fixed Illegal string offset...

Issue #1542186 by pp, redcell, rickmanelius: Fixed Illegal string offset warning during install on sqlite.
parent afef1a20
......@@ -34,6 +34,7 @@ class Update extends QueryUpdate {
*/
protected function removeFieldsInCondition(&$fields, ConditionInterface $condition) {
foreach ($condition->conditions() as $child_condition) {
if (isset($child_condition['field'])) {
if ($child_condition['field'] instanceof ConditionInterface) {
$this->removeFieldsInCondition($fields, $child_condition['field']);
}
......@@ -42,6 +43,7 @@ protected function removeFieldsInCondition(&$fields, ConditionInterface $conditi
}
}
}
}
public function execute() {
if (!empty($this->queryOptions['sqlite_return_matched_rows'])) {
......
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