Skip to content

Commit 492ab74

Browse files
authored
Merge pull request #61 from ikiselev1989/master
#60
2 parents c67a903 + e671f9d commit 492ab74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Instagram/Transport/HtmlTransportFeed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function fetchData($userName)
7373
throw new InstagramAuthException('Instagram blocked your IP. Login is required.');
7474
}
7575

76-
if ($this->cacheManager->sessionName) {
76+
if ($this->cacheManager && $this->cacheManager->sessionName) {
7777
$this->cacheManager->setSession($this->cacheManager->sessionName, $cookieJar);
7878
} elseif ($this->cacheManager instanceof CacheManager) {
7979
$newCache = new Cache();

0 commit comments

Comments
 (0)