Skip to content

Commit

Permalink
Thumbnail: Fix wrong if condition (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 authored Jan 26, 2025
1 parent 33e3113 commit f5a0e4a
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 f5a0e4a

Please sign in to comment.