summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Moor <tom.moor@gmail.com>2012-06-11 19:53:33 +0800
committerTom Moor <tom.moor@gmail.com>2012-06-11 19:53:33 +0800
commit1a0221ddcb5bafd0a71641e16626c2103472f3c2 (patch)
tree4d455da5b903f27fc630b0f0cabc4162a7399b19
parent72f1ff16fb08cdd3f8c80252d13c22ce35e1007f (diff)
downloadfastimage-1a0221ddcb5bafd0a71641e16626c2103472f3c2.zip
fastimage-1a0221ddcb5bafd0a71641e16626c2103472f3c2.tar.gz
fastimage-1a0221ddcb5bafd0a71641e16626c2103472f3c2.tar.bz2
Fixed getSize returning keys not starting at zero for some image filetypes.
-rw-r--r--Fastimage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Fastimage.php b/Fastimage.php
index 5c3bf4a..2227e10 100644
--- a/Fastimage.php
+++ b/Fastimage.php
@@ -45,7 +45,7 @@ class FastImage
$this->strpos = 0;
if ($this->getType())
{
- return $this->parseSize();
+ return array_values($this->parseSize());
}
return false;