1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-25 23:06:13 +02:00
This commit is contained in:
Oliver Vogel
2013-11-08 15:06:24 +01:00
parent 4788a82d50
commit 4a863c38bb

View File

@@ -791,7 +791,7 @@ class Image
}
// modify image if all values are set
if (is_int($width) && is_int($height) && is_int($src_x) && is_int($src_y)) {
if (isset($width) && isset($height) && isset($src_x) && isset($src_y)) {
$this->modify(0, 0, $src_x, $src_y, $width, $height, $width, $height);
}