Skip to content

Commit 4e3044b

Browse files
ACPT-1742
Fixing typo
1 parent 4a633e4 commit 4e3044b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/Model/App/Response/HttpPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function beforeSendResponse(HttpResponse $subject)
2424
{
2525
if ($subject instanceof NotCacheableInterface
2626
|| $subject->headersSent()
27-
|| $subject->setMetadata("NotCacheable")
27+
|| $subject->getMetadata("NotCacheable")
2828
) {
2929
return;
3030
}

0 commit comments

Comments
 (0)