From 9bb0e1984d4d8aa958e6472444e20ae05c17a10d Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 30 Dec 2011 00:30:01 +1100 Subject: Imagick's clonse() depreciated as of 3.1.0b1; use clone PHP keyword and bump minimum PHP version to 5.2.5 --- inc/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/image.php') diff --git a/inc/image.php b/inc/image.php index 5c8e3321..9f07ef2c 100644 --- a/inc/image.php +++ b/inc/image.php @@ -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); } -- cgit v1.3