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