Skip to content

Commit 80b9564

Browse files
stristrtpyo
authored andcommitted
-Fixes PHP 5.5.0 compatibility issue: final S3Request class must initialize response body to avoid ErrorException.
1 parent a7fcd6d commit 80b9564

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

S3.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,6 +1998,7 @@ function __construct($verb, $bucket = '', $uri = '', $endpoint = 's3.amazonaws.c
19981998
$this->headers['Date'] = gmdate('D, d M Y H:i:s T');
19991999
$this->response = new STDClass;
20002000
$this->response->error = false;
2001+
$this->response->body = null;
20012002
}
20022003

20032004

0 commit comments

Comments
 (0)