summaryrefslogtreecommitdiff
path: root/inc/image.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-04 05:11:46 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-04 05:11:46 -0400
commit33a07e9ee0103f51991020721eb4e059e0990942 (patch)
treed9e7522b3a3e7336aa2d00ff625be8706fcc0685 /inc/image.php
parent0f00f800b9735fe8b2c5c366a9b3972039c317e0 (diff)
bug fix, wrong index
Diffstat (limited to 'inc/image.php')
-rw-r--r--inc/image.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/image.php b/inc/image.php
index 1c865218..23558386 100644
--- a/inc/image.php
+++ b/inc/image.php
@@ -265,8 +265,8 @@ class ImageConvert extends ImageBase {
}
$size = $this->get_size($this->src, false);
if ($size) {
- $this->width = $size[1];
- $this->height = $size[2];
+ $this->width = $size[0];
+ $this->height = $size[1];
$this->image = true;
} else {