Merge pull request #1716 from RaspAP/fix/multiple-configs

Fix for updated bootstrap5.3 btn class
This commit is contained in:
Bill Zimmerman
2024-12-17 16:56:17 -08:00
committed by GitHub

View File

@@ -11,7 +11,7 @@
if ($client == $conf_default) { if ($client == $conf_default) {
$btn_class = "active"; $btn_class = "active";
} else { } else {
$btn_class = "disabled"; $btn_class = "";
} }
$label = preg_replace('/_client$/','',pathinfo($client, PATHINFO_FILENAME)); $label = preg_replace('/_client$/','',pathinfo($client, PATHINFO_FILENAME));
$client = $label; $client = $label;