Skip to content

Commit

Permalink
Adding back a change I missed.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsmanley authored and kolber committed Mar 17, 2011
1 parent 070bab4 commit ed2c3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cache.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function expired() {

function get_current_hash() {
preg_match('/Stacey.*: (.+?)\s/', file_get_contents($this->cachefile), $matches);
return $matches[1];
return isset($matches[1]) ? $matches[1] : false;
}

function write_cache() {
Expand Down

0 comments on commit ed2c3da

Please sign in to comment.