Swap conditions

pull/12336/head
Michael 2022-12-05 12:53:21 +00:00
parent b93f100c97
commit e62be24e6b
1 changed files with 3 additions and 3 deletions

View File

@ -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;