@@ -78,7 +78,9 @@ |
||
78 | 78 | $vehicle = new self(); |
79 | 79 | |
80 | 80 | foreach ($params as $key => $value) { |
81 | - if (is_null(Common::getValue($params, $key))) continue; |
|
81 | + if (is_null(Common::getValue($params, $key))) { |
|
82 | + continue; |
|
83 | + } |
|
82 | 84 | if (property_exists($vehicle, $key)) { |
83 | 85 | $vehicle->$key = $value; |
84 | 86 | } |