mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-26 17:52:30 -04:00
Fix im => i. Typo in variable name.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user