Skip to content

Commit

Permalink
Fixing notice in s3 lib
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed May 31, 2016
1 parent f8d126e commit 819ac6f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion components/com_fabrik/libs/amazons3/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,15 @@ private function __responseWriteCallback(&$curl, &$data) {
if ($this->response->code == 200 && $this->fp !== false)
return fwrite($this->fp, $data);
else
$this->response->body .= $data;
{
if (isset($this->response->body))
{
$this->response->body .= $data;
}
else {
$this->response->body = $data;
}
}
return strlen($data);
}

Expand Down

0 comments on commit 819ac6f

Please sign in to comment.