Be more precise in return array from image scaling
This commit is contained in:
parent
c862b3f355
commit
5fbb668855
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user