From 7b7bfb5a5d892411ed968049f1c1f460855a107c Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 22 Aug 2017 08:37:12 +0200 Subject: [PATCH] FileCache: Use the correct variable when checking a file's modification time refs #2917 --- library/Icinga/Web/FileCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/FileCache.php b/library/Icinga/Web/FileCache.php index 1b9203e13..a64fadd22 100644 --- a/library/Icinga/Web/FileCache.php +++ b/library/Icinga/Web/FileCache.php @@ -99,7 +99,7 @@ class FileCache return true; } - $info = stat($file); + $info = stat($filename); if ($info === false) { return false;