summaryrefslogtreecommitdiff
path: root/inc/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/image.php')
-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);
}