diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-11 21:00:34 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-11 21:00:34 -0400 |
commit | 3d4d28cfc64213356516ba095befa32b55e79e3d (patch) | |
tree | a600b0401d619662a45a6d1d0d098327d0b84055 | |
parent | 8dd68247349c8df89408b41de37b3dc144712a48 (diff) |
Fix bug: api exceptions can occurs with some versions of PHP
-rw-r--r-- | app/Api/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Api/File.php b/app/Api/File.php index 11c48404..65dff729 100644 --- a/app/Api/File.php +++ b/app/Api/File.php @@ -36,7 +36,7 @@ class File extends Base return ''; } - public function createFile($project_id, $task_id, $filename, $is_image, &$blob) + public function createFile($project_id, $task_id, $filename, $is_image, $blob) { return $this->file->uploadContent($project_id, $task_id, $filename, $is_image, $blob); } |