be explicit that variables are variables

This commit is contained in:
Shish 2016-09-02 16:19:02 +01:00
parent e96a5e1109
commit 3051334d8f

View file

@ -74,8 +74,8 @@ class IcoFileHandler extends Extension {
$width = $subheader['width'];
$height = $subheader['height'];
$image->width = width == 0 ? 256 : width;
$image->height = height == 0 ? 256 : height;
$image->width = $width == 0 ? 256 : $width;
$image->height = $height == 0 ? 256 : $height;
$image->filesize = $metadata['size'];
$image->hash = $metadata['hash'];