Commit a5dc36c5 authored by Alexander Butenko's avatar Alexander Butenko

fix for #427 dont enclose fields into `` if it has a relation

parent 60b70546
......@@ -1253,7 +1253,11 @@ class MysqliDb
$value = $tableData[$column];
if (!$isInsert) {
$this->_query .= "`" . $column . "` = ";
if(strpos($column,'.')===false) {
$this->_query .= "`" . $column . "` = ";
} else {
$this->_query .= str_replace('.','.`',$column) . "` = ";
}
}
// Subquery value
......
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