diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-25 15:15:59 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-25 15:15:59 -0400 |
commit | 60a45dbb685eb3b810dcced4820afe9d1f1ffe2d (patch) | |
tree | 0e098f3730730b017907eaa55494543244e027fe /app/Model/File.php | |
parent | f9753e91d288c4d87d6a83ffe994d312eae5a3fd (diff) |
Improve file upload
Diffstat (limited to 'app/Model/File.php')
-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 41ecfba1..70b87b1b 100644 --- a/app/Model/File.php +++ b/app/Model/File.php @@ -159,7 +159,7 @@ class File extends Base if (@move_uploaded_file($uploaded_filename, self::BASE_PATH.$destination_filename)) { - $this->create( + return $this->create( $task_id, $original_filename, $destination_filename, |