From: Christian Dickmann Date: Sun, 24 Nov 2002 10:15:25 +0000 (+0000) Subject: remove the check, cause i don't really know, if content has to be an array everytime X-Git-Tag: RELEASE_1_0b2~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51f5b6debbed1da714fd21d76e73609ce9463627;p=php remove the check, cause i don't really know, if content has to be an array everytime --- diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php index 6925906c8b..d7b6e70e52 100644 --- a/pear/PEAR/Remote.php +++ b/pear/PEAR/Remote.php @@ -108,7 +108,7 @@ class PEAR_Remote extends PEAR $this->cache = $this->getCache($args); $cachettl = $this->config->get('cache_ttl'); // If cache is newer than $cachettl seconds, we use the cache! - if ($this->cache !== null && $this->cache['age'] < $cachettl && is_array($this->cache['content'])) { + if ($this->cache !== null && $this->cache['age'] < $cachettl) { return $this->cache['content']; };