Skip to content

Commit

Permalink
Thumbnail: Fix wrong if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed Jan 26, 2025
1 parent 1f8b62e commit f3dffe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Thumb/Thumbnail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f3dffe9

Please sign in to comment.