@@ -122,8 +122,9 @@ |
||
122 | 122 | { |
123 | 123 | $handle = fopen($this->config['path'], "r"); |
124 | 124 | |
125 | - if (!$handle) |
|
126 | - throw new ImportException('Unable to open file, or file not exist'); |
|
125 | + if (!$handle) { |
|
126 | + throw new ImportException('Unable to open file, or file not exist'); |
|
127 | + } |
|
127 | 128 | |
128 | 129 | if (!$this->import->CheckIfFileIsCML($this->config['path'])) { |
129 | 130 | throw new ImportException('File is not valid'); |