Commit 5fbb6688 authored by mmn's avatar mmn

Be more precise in return array from image scaling

parent c862b3f3
......@@ -401,8 +401,8 @@ class ImageFile
}
return array(intval($rw), intval($rh),
intval($cx), intval($cy),
is_null($cw) ? null : intval($cw),
is_null($ch) ? null : intval($ch));
is_null($cw) ? $width : intval($cw),
is_null($ch) ? $height : intval($ch));
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment