summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 75a3f8716..c779d0a8c 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1998,7 +1998,7 @@
} else {
if (preg_match("/image/", $entry["type"]) ||
- preg_match("/\.(jpg|png|gif|bmp)/i", $entry["filename"])) {
+ preg_match("/\.(jpe?g|png|gif|bmp)/i", $entry["filename"])) {
if (!$hide_images) {
$encsize = '';