@@ -137,7 +137,9 @@ |
||
| 137 | 137 | $bindNameParameters = []; |
| 138 | 138 | $sqlUpdate = "UPDATE " . $this->getTableName() . " SET " ; |
| 139 | 139 | foreach ($this->properties as $columnName => $columnValue) { |
| 140 | - if($columnName == 'id') continue; |
|
| 140 | + if($columnName == 'id') { |
|
| 141 | + continue; |
|
| 142 | + } |
|
| 141 | 143 | $bindColumnName = ':' . $columnName; |
| 142 | 144 | $sqlUpdate .= "$columnName = $bindColumnName,"; |
| 143 | 145 | $bindNameParameters[$bindColumnName] = $columnValue; |