We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01b7d61 + 7a0d1e3 commit dded7b9Copy full SHA for dded7b9
1 file changed
lib/Service/ExAppOccService.php
@@ -96,7 +96,7 @@ public function getOccCommands(): array {
96
try {
97
$cacheKey = '/ex_occ_commands';
98
$records = $this->cache?->get($cacheKey);
99
- if ($records === null) {
+ if (!is_array($records)) {
100
$records = $this->mapper->findAllEnabled();
101
$this->cache?->set($cacheKey, $records);
102
}
0 commit comments