From 3d2fa3172fc3d2dd269efd43cb8dff57bda2df97 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 22 Jan 2024 15:41:00 -0500 Subject: [PATCH] Fix im => i. Typo in variable name. --- web/views/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/views/image.php b/web/views/image.php index 467c1eacf..a5cd88ec9 100644 --- a/web/views/image.php +++ b/web/views/image.php @@ -528,7 +528,7 @@ ZM\Debug("Figuring out height using width: $height = ($width * $oldHeight) / $ol $i = imagecreatetruecolor($width, $height); $bg_colour = imagecolorallocate($i, 255, 255, 255); $fg_colour = imagecolorallocate($i, 0, 0, 0); - imagefilledrectangle($im, 0, 0, $width, $height, $bg_colour); + imagefilledrectangle($i, 0, 0, $width, $height, $bg_colour); imagestring($i, 1, 5, 5, 'Unable to load jpeg from ' . $scaled_path, $fg_colour); imagejpeg($i); } else {