From: Matthias Schmidt Date: Mon, 25 Jul 2011 18:17:46 +0000 (+0200) Subject: Fixed Copy&Paste-Error X-Git-Tag: 2.0.0_Beta_1~1957^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77600bdffd3f142d175d915edeb97d4b25c53491;p=GitHub%2FWoltLab%2FWCF.git Fixed Copy&Paste-Error --- 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]); } }