summaryrefslogtreecommitdiff
path: root/include/functions2.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions2.php')
-rw-r--r--include/functions2.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions2.php b/include/functions2.php
index e00a0ba13..28e182f8d 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -2000,8 +2000,7 @@
$rv .= $retval;
} else {
- if (preg_match("/image/", $entry["type"]) ||
- preg_match("/\.(jpe?g|png|gif|bmp)/i", $entry["filename"])) {
+ if (preg_match("/image/", $entry["type"])) {
if (!$hide_images) {
$encsize = '';