PHP8 spotted a bug...
authorAlan <alan@roojs.com>
Mon, 15 Jan 2024 02:27:08 +0000 (10:27 +0800)
committerAlan <alan@roojs.com>
Mon, 15 Jan 2024 02:27:08 +0000 (10:27 +0800)
HTML/Template/Flexy.php

index c24e103..7ac98e2 100644 (file)
@@ -818,7 +818,7 @@ class HTML_Template_Flexy
         if (is_a($this->options['Translation2'], 'Translation2')) {
             $this->options['Translation2']->setLang($this->options['locale']);
             
-            if(empty($this->_options['Translation2']['CommonPageID'])) {
+            if(empty($this->options['Translation2']['CommonPageID'])) {
                 // fixme - needs to be more specific to which template to use..
                foreach ($this->options['templateDir'] as $tt) {
                     $n = basename($this->currentTemplate);