DataObjects/Core_template.php
authorAlan <alan@roojs.com>
Fri, 24 Feb 2023 06:27:02 +0000 (14:27 +0800)
committerAlan <alan@roojs.com>
Fri, 24 Feb 2023 06:27:02 +0000 (14:27 +0800)
DataObjects/Core_template.php

index 568b633..8c444cb 100644 (file)
@@ -472,7 +472,7 @@ class Pman_Core_DataObjects_Core_template  extends DB_DataObject
             throw new Exception("oops");
         }
         if (empty($outd) && empty($outs)) {
-            return;
+            return 0;
         }
         
         $words[] =  str_replace('\\'. $ct, $ct, trim($tok[1] , $ct));