summaryrefslogtreecommitdiff
path: root/inc/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/image.php')
-rw-r--r--inc/image.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/image.php b/inc/image.php
index c6a9e0b0..85200104 100644
--- a/inc/image.php
+++ b/inc/image.php
@@ -48,6 +48,7 @@
}
$thumb = new $classname(false);
+ $thumb->src = $this->src;
$thumb->original_width = $this->size->width;
$thumb->original_height = $this->size->height;
@@ -105,7 +106,7 @@
$this->init();
if($img !== false) {
- $this->src = &$img->src;
+ $this->src = $img->src;
$this->from();
}
}