Skip to content

Commit

Permalink
Add missing strict check
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Halfar committed Aug 22, 2024
1 parent a3fc2ca commit 2548003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Entity/Panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function _setContent(mixed $content): mixed
{
if (is_string($content) && function_exists('gzdeflate')) {
$contentDeflated = gzdeflate($content, 9);
if ($contentDeflated) {
if ($contentDeflated !== false) {
$content = $contentDeflated;
}
}
Expand Down

0 comments on commit 2548003

Please sign in to comment.