summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2011-12-30 00:30:01 +1100
committerMichael Save <savetheinternet@tinyboard.org>2011-12-30 00:30:01 +1100
commit9bb0e1984d4d8aa958e6472444e20ae05c17a10d (patch)
tree5418d0d85714de22a51213ccf6eb48c1ed69f8f1 /inc
parent21b35094ddda1170f4119090a46b071bc41e2101 (diff)
Imagick's clonse() depreciated as of 3.1.0b1; use clone PHP keyword and bump minimum PHP version to 5.2.5
Diffstat (limited to 'inc')
-rw-r--r--inc/image.php2
1 files changed, 1 insertions, 1 deletions
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);
}