From 77600bdffd3f142d175d915edeb97d4b25c53491 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 25 Jul 2011 20:17:46 +0200 Subject: [PATCH] Fixed Copy&Paste-Error --- wcfsetup/install/files/lib/util/DirectoryUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/DirectoryUtil.class.php b/wcfsetup/install/files/lib/util/DirectoryUtil.class.php index 1d184936ad..1b5c427bfe 100644 --- a/wcfsetup/install/files/lib/util/DirectoryUtil.class.php +++ b/wcfsetup/install/files/lib/util/DirectoryUtil.class.php @@ -152,7 +152,7 @@ class DirectoryUtil { // sort out non matching files if (!empty($pattern)) { foreach ($files as $filename => $value) { - if (((bool) preg_match($pattern, $filename)) == $negativeMatch) unset($objects[$filename]); + if (((bool) preg_match($pattern, $filename)) == $negativeMatch) unset($files[$filename]); } } -- 2.20.1