From 450a95f4a169ed295a8e0647955ccc2346388e0e Mon Sep 17 00:00:00 2001 From: phpnut Date: Thu, 1 Feb 2007 03:34:32 +0000 Subject: [PATCH] Adding fix for #1993 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4377 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/basics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/basics.php b/cake/basics.php index 54664689c..f3688dc07 100644 --- a/cake/basics.php +++ b/cake/basics.php @@ -1051,7 +1051,7 @@ $timediff = $expires - $now; $filetime = @filemtime($filename); - if ($data == null) { + if ($data === null) { // Read data from file if (file_exists($filename) && $filetime !== false) { if ($filetime + $timediff < $now) {