Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Apr 11, 2017
1 parent 377df31 commit f02f8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class FileAPI extends Api
*/
public function receive($name)
{
$contentDisposition = $this->request->header('content-disposition');
$contentDisposition = (string) $this->request->header('content-disposition');
if (empty($contentDisposition) === true) {
return $this->request->file($name);
}
Expand Down

0 comments on commit f02f8d1

Please sign in to comment.