diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/File.php b/app/Model/File.php index 16bf079e..1f62a55e 100644 --- a/app/Model/File.php +++ b/app/Model/File.php @@ -304,7 +304,7 @@ class File extends Base return false; } - $original_filename = e('Screenshot taken %s', dt('%B %e, %Y at %k:%M %p', time())); + $original_filename = e('Screenshot taken %s', dt('%B %e, %Y at %k:%M %p', time())).'.png'; $destination_filename = $this->generatePath($project_id, $task_id, $original_filename); @mkdir(FILES_DIR.dirname($destination_filename), 0755, true); |