| @@ -130,7 +130,7 @@ | ||
| 130 | 130 | if($action == 'new') | 
| 131 | 131 |                  { | 
| 132 | 132 | $this->addFile($model, $type, $files_order, $file, $locale); | 
| 133 | - }elseif($action == 'replace') | |
| 133 | + } elseif($action == 'replace') | |
| 134 | 134 |                  { | 
| 135 | 135 | $asset = AssetUploader::uploadFromBase64(json_decode($file)->output->image, json_decode($file)->output->name); | 
| 136 | 136 | $model->replaceAsset($id, $asset->id); |