fixed typo
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sat, 10 Oct 2009 08:01:27 +0000 (08:01 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sat, 10 Oct 2009 08:01:27 +0000 (08:01 +0000)
git-svn-id: http://svn.twig-project.org/trunk@12 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Loader.php

index 0011239..3e2eb56 100644 (file)
@@ -75,7 +75,7 @@ abstract class Twig_Loader implements Twig_LoaderInterface
     }
 
     $cache = $this->getCacheFilename($name);
-    if (!file_exists($cache) || false === $mtime || ($this->autoReload && filemtime($cache) < $mtime))
+    if (!file_exists($cache) || false === $mtime || ($this->autoReload && (filemtime($cache) < $mtime)))
     {
       $fp = @fopen($cache, 'wb');
       if (!$fp)