logfile only if SYSINFO_DISPLAY is true

This commit is contained in:
sparkyx 2026-03-01 11:45:23 +01:00
parent 5901df5a1f
commit 0edcf8364b
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ function MenuAdmin()
if ( SYSINFO_DISPLAY == false ) {
$nb_item = count($tmp_item);
for ($i=0;$i<$nb_item;$i++) {
if ($tmp_item[$i][3] <> 6 ) {
if ($tmp_item[$i][3] <> 6 && $tmp_item[$i][3] <> 9 ) {
$item[]=$tmp_item[$i];
}
}