Skip to content

Commit 572a2d0

Browse files
committed
AC-1486 - issue fixed
1 parent be9b1fe commit 572a2d0

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/RemoteStorage/Driver/Adapter/Cache

1 file changed

+3
-1
lines changed

app/code/Magento/RemoteStorage/Driver/Adapter/Cache/Generic.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,11 @@ public function getMetadata(string $path): ?array
194194
return null;
195195
}
196196
$meta = $this->serializer->unserialize($meta);
197-
if (!$meta[$path]) {
197+
198+
if (empty($meta[$path])) {
198199
return null;
199200
}
201+
200202
$this->cacheData[$path] = $meta[$path];
201203
return $this->cacheData[$path];
202204
}

0 commit comments

Comments
 (0)