1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

bug fix, wrong index

This commit is contained in:
Michael Foster 2013-08-04 05:11:46 -04:00
parent da18afabdd
commit 50eec97b66

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 {