@@ -483,7 +483,9 @@ |
||
| 483 | 483 | |
| 484 | 484 | $c = 0; |
| 485 | 485 | foreach($updateFields as $column => $value) { |
| 486 | - if($c>0)$sql .= ", "; |
|
| 486 | + if($c>0) { |
|
| 487 | + $sql .= ", "; |
|
| 488 | + } |
|
| 487 | 489 | $sql .= '`'.$column . "` = '". $value."'"; |
| 488 | 490 | $c++; |
| 489 | 491 | } |