fix php warning in menu class (#7256)

initialize variable before use
This commit is contained in:
frytimo
2025-02-15 13:43:03 -04:00
committed by GitHub
parent 27e32e8f34
commit dc0f146485

View File

@@ -1238,6 +1238,7 @@ if (!class_exists('menu')) {
$html .= " <div style='height: 100px;'></div>\n";
}
$html .= "</div>\n";
$content_container_onclick = "";
if ($menu_side_state != 'expanded') {
$content_container_onclick = "onclick=\"clearTimeout(menu_side_contract_timer); if ($(window).width() >= 576) { menu_side_contract(); }\"";
}