Issue 163: Filesize shown for external files
This commit is contained in:
parent
ce03e17d58
commit
84547905d6
@ -215,7 +215,8 @@ class IDF_Upload extends Pluf_Model
|
||||
if ($this->ext_file == "") {
|
||||
$this->md5 = md5_file ($this->getFullPath());
|
||||
} else {
|
||||
$this->filesize = $this->getRemoteFilesize($this->ext_file, false);
|
||||
$this->filesize = max(0, $this->getRemoteFilesize($this->ext_file, false));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user