Swap conditions
This commit is contained in:
parent
b93f100c97
commit
e62be24e6b
|
@ -798,11 +798,11 @@ class Image
|
|||
}
|
||||
}
|
||||
|
||||
if (!$this->isImagick()) {
|
||||
if ($this->isImagick()) {
|
||||
$this->image->drawImage($draw);
|
||||
} else {
|
||||
$this->width = imagesx($this->image);
|
||||
$this->height = imagesy($this->image);
|
||||
} else {
|
||||
$this->image->drawImage($draw);
|
||||
}
|
||||
|
||||
$this->valid = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user