UpdateBjsTemplates.php
authorleon <leon@roojs.com>
Wed, 26 Jul 2023 03:28:13 +0000 (11:28 +0800)
committerleon <leon@roojs.com>
Wed, 26 Jul 2023 03:28:13 +0000 (11:28 +0800)
UpdateBjsTemplates.php

index 34e98ff..3a323ef 100644 (file)
@@ -281,7 +281,7 @@ class Pman_Cms_UpdateBjsTemplates extends Pman_Admin_UpdateBjsTemplates
 
                 // a text is translatable if its name starts with 'tr-'
                 if(strpos($textName, 'tr-') === 0 && !in_array($textValue, $strings[$slide])) {
-                    $strings[$slide][] = $text->__toString();
+                    $strings[$slide][] = $textValue;
                 }
             }
         }