diff --git a/application/libraries/Thumb/Thumbnail.php b/application/libraries/Thumb/Thumbnail.php index 2d2b68a06..1a7d1f2d1 100644 --- a/application/libraries/Thumb/Thumbnail.php +++ b/application/libraries/Thumb/Thumbnail.php @@ -1292,7 +1292,7 @@ private function clipcornersround() $random3 = 1; $random4 = 1; } - if (version_compare(PHP_VERSION, '8.1.0', '>=') === -1) { + if (version_compare(PHP_VERSION, '8.1.0', '>=')) { if ($this->Clipcorner[3] && $random1) { imagefilledpolygon($this->im, $points_tl, $bgcolor); }