bug fix, wrong index

This commit is contained in:
Michael Foster 2013-08-04 05:11:46 -04:00
parent 0f00f800b9
commit 33a07e9ee0

View File

@ -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 {