From 167fbda45ad9df5b68dafc8e71e034af64a055cc Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 5 Dec 2016 20:35:48 -0800 Subject: [PATCH] Issue #2115 - Filename filtering. --- e107_admin/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/image.php b/e107_admin/image.php index c4056cff9..461c03237 100644 --- a/e107_admin/image.php +++ b/e107_admin/image.php @@ -2625,7 +2625,7 @@ class media_admin_ui extends e_admin_ui foreach($_POST['batch_selected'] as $key=>$file) { - $oldpath = e_IMPORT.$tp->filter($file, 'w'); + $oldpath = e_IMPORT.$tp->filter($file, 'file'); if($_POST['batch_category'] == '_avatars_public' || $_POST['batch_category'] == '_avatars_private') {