From 6ac8420ad742c84890cf346629ca2168b9a67612 Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Sat, 28 Aug 2021 16:03:10 +0200 Subject: [PATCH] Fixed id --- src/gdImg/gd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdImg/gd.php b/src/gdImg/gd.php index d021b21..399947f 100644 --- a/src/gdImg/gd.php +++ b/src/gdImg/gd.php @@ -107,7 +107,7 @@ $hw=500*$height/$width; if($hw>600){$hw=600;} imagecopyresized($jpg_image, $photo, 10, 100, 0, 0, 500, $hw, $width, $height); -imagettftext($jpg_image, 26, 0, 10, 100+$height+10, $white, $font_path, $u->getId()."/".time()."/".$chat_id."/".$GLOBALS["config"]["lgbt"]["version"]); +imagettftext($jpg_image, 26, 0, 10, 100+$height+10, $white, $font_path, $id."/".time()."/".$chat_id."/".$GLOBALS["config"]["lgbt"]["version"]); list($wc, $hc) = getimagesize("gdImg/cid.png"); $ho=$hc+floor(count($fln)/6+1)*100;