} elseif (!isset($op) && is_numeric($data)) {
$this->data->add(new Expr("+ $data"));
} else {
- $data = $this->row->getTable()->getConnection()->quote($data);
+ if (!is_array($data)) {
+ $data = $this->row->getTable()->getConnection()->quote($data);
+ }
$this->data->add(new Expr("%s %s", isset($op) ? $op : "||", $data));
}
return $this;
- }
-}
\ No newline at end of file
+ }
+}