Fixes problem when $this->cache->get($this-key)...

does not return an array. Also, changed the return from null to 0 so that the if statement does not execute in src/html/assets/themes/fabrizio1.0/templates/template.php