Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #283 from seregazhuk/develop
Browse files Browse the repository at this point in the history
fix: Cookies error on empty filename
  • Loading branch information
seregazhuk authored May 23, 2017
2 parents cae8ae9 + 00b2029 commit 7f51266
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## v5.3.10 - 2017-05-23
### Fixed:
- Cookies error on empty filename

## v5.3.9 - 2017-05-07
### Fixed:
- Boards *forMe()* and Pinners *followers*() methods
Expand Down
4 changes: 3 additions & 1 deletion src/Api/CurlHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ public function getCookiesPath()
*/
protected function fillCookies()
{
$this->cookies->fill($this->cookieJar);
if(empty($this->cookieJar)) {
$this->cookies->fill($this->cookieJar);
}

return $this;
}
Expand Down

0 comments on commit 7f51266

Please sign in to comment.