Skip to content

Commit 2548003

Browse files
author
Adam Halfar
committed
Add missing strict check
1 parent a3fc2ca commit 2548003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Entity/Panel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function _setContent(mixed $content): mixed
7272
{
7373
if (is_string($content) && function_exists('gzdeflate')) {
7474
$contentDeflated = gzdeflate($content, 9);
75-
if ($contentDeflated) {
75+
if ($contentDeflated !== false) {
7676
$content = $contentDeflated;
7777
}
7878
}

0 commit comments

Comments
 (0)