From e51f2f38daaae3b7e26b4c0f42bdca6a053de34b Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 5 Jan 2026 12:07:30 +0000 Subject: [PATCH] a --- Vue/gabarit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index e9b3ccd..8969052 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -21,6 +21,8 @@ $imgData = $_SESSION['photoAssureCrypte'] ?? ''; * @param object $gabary Instance Gabary pour récupérer les enfants * @return array ['parent' => string, 'child' => string|null] */ + +if (!function_exists('detectActiveMenu')) { function detectActiveMenu($activeLink, $menus, $gabary) { // LOG SIMPLIFIÉE ET FIABLE : @@ -45,6 +47,7 @@ function detectActiveMenu($activeLink, $menus, $gabary) { // 3. Fallback : premier menu return ['parent' => '0', 'child' => null]; } +} // ============================================ // UTILISATION - REMPLACE VOTRE CODE ACTUEL