summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/PEAR/Remote.php2
1 files changed, 1 insertions, 1 deletions
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'];
};