From 3d4d28cfc64213356516ba095befa32b55e79e3d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 11 Jun 2015 21:00:34 -0400 Subject: Fix bug: api exceptions can occurs with some versions of PHP --- app/Api/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Api/File.php') 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); } -- cgit v1.2.3