forked from leftypol/leftypol
Imagick's clonse() depreciated as of 3.1.0b1; use clone PHP keyword and bump minimum PHP version to 5.2.5
This commit is contained in:
parent
21b35094dd
commit
9bb0e1984d
2 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@
|
|||
return $this->image->destroy();
|
||||
}
|
||||
public function resize() {
|
||||
$this->image = $this->original->clone();
|
||||
$this->image = clone $this->original;
|
||||
|
||||
$this->image->scaleImage($this->width, $this->height, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue