Fix bug: api exceptions can occurs with some versions of PHP

This commit is contained in:
Frederic Guillot
2015-06-11 21:00:34 -04:00
parent 8dd6824734
commit 3d4d28cfc6

View File

@@ -36,7 +36,7 @@ class File extends Base
return ''; 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); return $this->file->uploadContent($project_id, $task_id, $filename, $is_image, $blob);
} }