diff --git a/src/Base.php b/src/Base.php index 140aa5d..816ce23 100644 --- a/src/Base.php +++ b/src/Base.php @@ -21,7 +21,7 @@ class Base { - const VERSION = '0.6.0'; + const VERSION = '0.6.2'; /** Cache Time, in seconds. 4 days = 345600 seconds */ const CACHE_TIME = 345600; diff --git a/src/Topic.php b/src/Topic.php index 7d3e429..e26d0fb 100644 --- a/src/Topic.php +++ b/src/Topic.php @@ -72,7 +72,7 @@ public function get() */ private function setDataFromCache() { - $this->data = $this->filesystem->get($this->topic); + $this->data = json_decode($this->filesystem->get($this->topic)); if (!is_array($this->data)) { $this->data = [];