From a8bd6c5e5a17fc97014ec7fb8610806427bfa218 Mon Sep 17 00:00:00 2001 From: d47081 Date: Fri, 15 Jul 2022 17:12:28 +0300 Subject: [PATCH] remove deprecated paramethers --- library/icon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/icon.php b/library/icon.php index 3daeddc..4df6a58 100755 --- a/library/icon.php +++ b/library/icon.php @@ -165,7 +165,7 @@ final class Icon { for ($i = 0; $i < count($shape); $i++) $shape[$i] = $shape[$i] * $this->_spriteZ; - imagefilledpolygon($sprite, $shape, count($shape) / 2, $fg); + imagefilledpolygon($sprite, $shape, $fg); for ($i = 0; $i < $rotation; $i++) $sprite = imagerotate($sprite, 90, $bg); @@ -215,7 +215,7 @@ final class Icon { for ($i = 0; $i < count($shape); $i++) $shape[$i] = $shape[$i] * $this->_spriteZ; if (count($shape) > 0) - imagefilledpolygon($sprite, $shape, count($shape) / 2, $fg); + imagefilledpolygon($sprite, $shape, $fg); return $sprite; }