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); } } diff --git a/include/constant.php b/include/constant.php index d90dd5534..f1cbce976 100644 --- a/include/constant.php +++ b/include/constant.php @@ -25,7 +25,7 @@ global $version_noalyss; // version -define('NOALYSS_VERSION', 9308 ); +define('NOALYSS_VERSION', 9309 ); // Database schema version define("DBVERSION", 203);