From 5ef969bd27c49d3c3b9e264645c449e3f7832096 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 7 Apr 2016 17:05:31 +0200 Subject: [PATCH] Fix case in name of called method --- wcfsetup/install/files/lib/acp/page/CacheListPage.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php b/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php index bc9e6be2c8..b405c900bc 100755 --- a/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php @@ -121,6 +121,7 @@ class CacheListPage extends AbstractPage { // get additional file information $data = array(); if (is_array($files)) { + /** @var \SplFileInfo $file */ foreach ($files as $file) { if ($ignore !== null && $ignore->match($file)) { continue; @@ -129,7 +130,7 @@ class CacheListPage extends AbstractPage { $data[] = array( 'filename' => $file->getBasename(), 'filesize' => $file->getSize(), - 'mtime' => $file->getMtime(), + 'mtime' => $file->getMTime(), 'perm' => substr(sprintf('%o', $file->getPerms()), -3), 'writable' => $file->isWritable() ); -- 2.20.1