Skip to content

Commit

Permalink
Merge pull request #23 from ttimot24/master
Browse files Browse the repository at this point in the history
Errors fixed for issue #22
  • Loading branch information
thelfensdrfer authored Jan 6, 2017
2 parents 2853884 + 7859542 commit 15b068a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,9 @@ public function checkUpdate()
$versions = $this->_cache->get('update-versions');

// Check if cache is empty
if ($versions === false) {
if ($versions === null) {
// Create absolute url to update file
$updateFile = $this->_updateUrl . DIRECTORY_SEPARATOR . $this->_updateFile;
$updateFile = $this->_updateUrl . '/' . $this->_updateFile;
if (!empty($this->_branch))
$updateFile .= '.' . $this->_branch;

Expand Down

0 comments on commit 15b068a

Please sign in to comment.