more PHP8 fixes
authorAlan <alan@roojs.com>
Fri, 14 Apr 2023 04:02:23 +0000 (12:02 +0800)
committerAlan <alan@roojs.com>
Fri, 14 Apr 2023 04:02:23 +0000 (12:02 +0800)
Benchmark/Timer.php
HTML/Template/Flexy/Token/Tag.php

index f85f03e..542993a 100644 (file)
@@ -337,7 +337,7 @@ class Benchmark_Timer extends PEAR
             $out .= "<tr style='background: silver;'>";
             $out .= "<td><b>total</b></td>";
             $out .= "<td>-</td>";
-            $out .= "<td>${total}</td>";
+            $out .= "<td>{$total}</td>";
             $out .= "<td>100.00%</td>";
             $out .= ($showTotal ? "<td>-</td><td>-</td>" : "");
             $out .= "</tr>\n";
index c698e72..90d6d66 100644 (file)
@@ -103,6 +103,8 @@ class HTML_Template_Flexy_Token_Tag extends HTML_Template_Flexy_Token {
     
     
     
+    var $hasForeach;
+    
     /**
     * Setvalue - gets name, attribute as an array
     * @see parent::setValue()