From 5ca89d75c11230282000592f1e602683aee34453 Mon Sep 17 00:00:00 2001 From: Siphonight Date: Mon, 20 Jan 2025 22:08:35 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20probl=C3=A8me=20de=20s=C3=A9lectio?= =?UTF-8?q?n=20list=20dans=20sessions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin_menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_menu.sh b/admin_menu.sh index 79aa2ea..1539823 100644 --- a/admin_menu.sh +++ b/admin_menu.sh @@ -41,7 +41,7 @@ function sessions_viewer() { read -r -p "Votre choix (1-${sessions_counter}): " choice if [[ ${choice} == "quit" ]] || [[ ${choice} == "${sessions_counter}" ]]; then sessions_viewer - elif [[ -z ${choice} ]] || [[ -z ${users_map[${choice}]} ]]; then + elif [[ -z ${choice} ]] || [[ -z ${sessions_map[${choice}]} ]]; then echo "Sélection invalide." else local selected_session