be explicit that variables are variables
This commit is contained in:
parent
e96a5e1109
commit
3051334d8f
1 changed files with 2 additions and 2 deletions
|
@ -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'];
|
||||
|
|
Reference in a new issue