Fix bug: api exceptions can occurs with some versions of PHP
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user