|
@@ -30,7 +30,7 @@ |
|
|
block discarded – undo |
|
30
|
30
|
if (false === @$file->ftell()) { |
|
31
|
31
|
throw new UploadException($this->lang->uppCannotOpenFile($location)); |
|
32
|
32
|
} |
|
33
|
|
- $position = is_null($seek) ? @$file->fseek(0, SEEK_END) : @$file->fseek($seek) ; |
|
|
33
|
+ $position = is_null($seek) ? @$file->fseek(0, SEEK_END) : @$file->fseek($seek); |
|
34
|
34
|
if ($position == -1) { |
|
35
|
35
|
unset($file); |
|
36
|
36
|
throw new UploadException($this->lang->uppCannotSeekFile($location)); |
Please login to merge, or discard this patch.