DataObjects/Core_template.php
authorleon <leon@roojs.com>
Thu, 20 Jul 2023 03:55:09 +0000 (11:55 +0800)
committerleon <leon@roojs.com>
Thu, 20 Jul 2023 03:55:09 +0000 (11:55 +0800)
DataObjects/Core_template.php

index 8095ceb..5fe3020 100644 (file)
@@ -583,13 +583,12 @@ WHERE (
             // then in theory there are no translations
             return false;
         }
-        
-        if (file_exists($fname) && strtotime($ts->updated) < filemtime($fname)) {
-            return $fname; // file exists and is newer than our updated line.
-        }
         if($clsname == 'publisher_insightsreport_volumeovertime' && $lang == 'zh_CN') {
             die('b');
         }
+        if (file_exists($fname) && strtotime($ts->updated) < filemtime($fname)) {
+            return $fname; // file exists and is newer than our updated line.
+        }
         //DB_DataObject::debugLevel(1);
 
         $ts = $this->factoryStr();