From 1c0cc54882e48678c7829f0cb0553ec4a70c61d6 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 9 Jul 2025 22:52:04 +0200 Subject: [PATCH] Version and PHP8.1 deprecated --- html/securimage/securimage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/securimage/securimage.php b/html/securimage/securimage.php index 2621a715a..17252cb5d 100644 --- a/html/securimage/securimage.php +++ b/html/securimage/securimage.php @@ -331,6 +331,7 @@ class Securimage { */ var $signature_color; + var $signature_font; /** * Full path to the WAV files to use to make the audio files, include trailing /.
* Name Files [A-Z0-9].wav @@ -839,6 +840,8 @@ class Securimage { for ($i = 0; $i < $n; ++$i) { $x = $x0 + $i * $dx + $amp * $dy * sin($k * $i * $step + $phi); $y = $y0 + $i * $dy - $amp * $dx * sin($k * $i * $step + $phi); + $x=(int) $x; + $y=(int) $y; imagefilledrectangle($this->im, $x, $y, $x + $lwid, $y + $lwid, $this->gdlinecolor); } }