diff options
Diffstat (limited to 'application/models')
-rw-r--r-- | application/models/file_mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php index efb5bf8a3..54fe3d550 100644 --- a/application/models/file_mod.php +++ b/application/models/file_mod.php @@ -193,7 +193,7 @@ class File_mod extends CI_Model { $filedata = $this->get_filedata($id); $file = $this->file($filedata['hash']); - if (!file_exists($file) || !$this->valid_id($id)) { + if (!$this->valid_id($id)) { $this->non_existent(); return; } |