From d2f0cc4b35640b96dc516ccd0a60eaa5a04c98c0 Mon Sep 17 00:00:00 2001 From: gravel Date: Sat, 20 May 2023 23:05:53 +0200 Subject: [PATCH] Tweak I --- php/utils/room-icons.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/utils/room-icons.php b/php/utils/room-icons.php index 8280f0a..3d806cc 100644 --- a/php/utils/room-icons.php +++ b/php/utils/room-icons.php @@ -75,7 +75,7 @@ // Resize image $gd_image = imagecreatefromstring($icon_cached_contents); $gd_resized = imagescale($gd_image, $width, $height); - imagewebp($gd_resized, to: $icon_resized); + imagewebp($gd_resized, $icon_resized); return room_icon_path_relative($room_id, $size); }