Fix #7591 - scanning templates for multiple projects using Content manager
[Pman.Cms] / OutputTranslations.php
index 7a48aea..25e0f2a 100644 (file)
@@ -154,6 +154,7 @@ class Pman_Cms_OutputTranslations extends Pman
     
     function is_cached()
     {
+        
         if (!empty($_GET['no_cache'])) {
             return false;
         }
@@ -178,6 +179,8 @@ class Pman_Cms_OutputTranslations extends Pman
         $cms_templatestr->selectAdd("MAX(updated) AS latest");
         $cms_templatestr->find(true);
         
+      
+        
         if(filemtime($this->cachePath) < strtotime($cms_templatestr->latest)){
             return false;
         }