diff --git a/www/request_account/human.php b/www/request_account/human.php index c0793ad..02556d7 100644 --- a/www/request_account/human.php +++ b/www/request_account/human.php @@ -66,7 +66,7 @@ for($i = 0; $i < $num_chars; $i++) { $txt_col = $textcols[rand(0,1)]; $txt_font = $fonts[array_rand($fonts)]; $txt = $human_proof[$i]; - imagettftext($image, $size, $angle, $txt_x, $txt_y, $txt_col, $txt_font, $txt); + imagettftext($image, $size, $angle, (int)$txt_x, (int)$txt_y, $txt_col, $txt_font, $txt); # print "imagettftext( $size, $angle, $txt_x, $txt_y, $txt_col, $txt_font, $txt);
"; }