Skip to content

Commit 2be099f

Browse files
committed
MAGETWO-65329: Add notification wrapper
fix link provider
1 parent 147f287 commit 2be099f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Analytics/Model/LinkProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(
5252
public function get()
5353
{
5454
$fileInfo = $this->fileInfoManager->load();
55-
if ($fileInfo->getPath() === null || $fileInfo->getInitializationVector() === null) {
55+
if (!$fileInfo->getPath() || !$fileInfo->getInitializationVector()) {
5656
throw new Exception(__('File is not ready yet.'), 0, Exception::HTTP_NOT_FOUND);
5757
}
5858
$link = $this->linkInterfaceFactory->create();

0 commit comments

Comments
 (0)