diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/sendfile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/sendfile.php b/public/sendfile.php index 7d6517c..c9f9f54 100644 --- a/public/sendfile.php +++ b/public/sendfile.php @@ -135,7 +135,7 @@ switch ($type) { //Get the file type: if ($file->hasFileAttached()) { $path_file = $file->getPath(); - } elseif ($file->hasURL()) { + } elseif ($file->hasURL() && !empty($file->metadata['url'])) { $path_file = $file->metadata['url']; } } else { |
