From 3051334d8f153862a3e1b1a6de65c08b31ede52d Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 2 Sep 2016 16:19:02 +0100 Subject: [PATCH] be explicit that variables are variables --- ext/handle_ico/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/handle_ico/main.php b/ext/handle_ico/main.php index 8bb9932f..4e53c249 100644 --- a/ext/handle_ico/main.php +++ b/ext/handle_ico/main.php @@ -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'];