Fix placeholder index

This commit is contained in:
SimonFair
2025-09-28 10:17:16 +01:00
parent e64211b8e5
commit e4ed5896f6
+1 -1
View File
@@ -399,7 +399,7 @@ switch ($themeHelper->getThemeName()) { // $themeHelper set in DefaultPageLayout
<?
foreach ($cpus as $cpu_index=>$package) {
echo "<td><span class='w72'>"._("Physical")." CPU $cpu_index "._("Power").": <span id='cpu-power0'>N/A</span></td></span></tr>";
echo "<td><span class='w72'>"._("Physical")." CPU $cpu_index "._("Power").": <span id='cpu-power$cpu_index'>N/A</span></td></span></tr>";
foreach ($package as $pair) {
[$cpu1, $cpu2] = my_preg_split('/[,-]/',$pair);
echo "<tr class='cpu_open'>";