We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5363251 + f8dcf29 commit cd63b09Copy full SHA for cd63b09
phpfastcache/3.0.0/abstract.php
@@ -58,7 +58,9 @@ public function get($keyword, $option = array()) {
58
if($object == null) {
59
return null;
60
}
61
- return isset($option['all_keys']) && $option['all_keys'] ? $object : $object['value'];
+
62
+ $value = isset( $object['value'] ) ? $object['value'] : null;
63
+ return isset( $option['all_keys'] ) && $option['all_keys'] ? $object : $value;
64
65
66
0 commit comments