@@ -254,7 +254,9 @@ |
||
254 | 254 | public function setOutputFile($file_name = null, $ext = null) |
255 | 255 | { |
256 | 256 | if (empty($file_name) || !is_string($file_name)) { |
257 | - if (!is_null($ext)) $ext = $this->default_ext; |
|
257 | + if (!is_null($ext)) { |
|
258 | + $ext = $this->default_ext; |
|
259 | + } |
|
258 | 260 | $file_name = $this->genTempFileName($ext); |
259 | 261 | } |
260 | 262 | return $this->full_file_name = $file_name; |