We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b01f86b + d394383 commit 194fd5bCopy full SHA for 194fd5b
1 file changed
src/Util/Module.php
@@ -59,7 +59,8 @@ protected static function memoize($method_name) {
59
return $data;
60
}
61
if ($cache = cache_get($cache_name)) {
62
- return $cache->data;
+ $data = $cache->data;
63
+ return $data;
64
65
$data = call_user_func_array(array(get_called_class(), $method_name), array());
66
cache_set($cache_name, $data);
0 commit comments