From 3d61e6529debcb93385f5ee323bca87903559103 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Tue, 28 Jul 2015 23:34:03 +0300 Subject: [PATCH] typo --- ipf/image/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipf/image/image.php b/ipf/image/image.php index df7895b..0311620 100644 --- a/ipf/image/image.php +++ b/ipf/image/image.php @@ -49,7 +49,7 @@ class IPF_Image private static function detectType($filename) { - if (preg_match('/\.je?pg$/i', $filename)) + if (preg_match('/\.jpe?g$/i', $filename)) return IMAGETYPE_JPEG; if (preg_match('/\.gif$/i', $filename)) return IMAGETYPE_GIF; -- 2.49.0