From 043a2538b77cc578c6d5cae992d470db23c9d069 Mon Sep 17 00:00:00 2001 From: Paolo Date: Mon, 31 Jul 2023 12:12:59 +0200 Subject: [PATCH] Updated --- application/controllers/components/SearchBar.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/components/SearchBar.php b/application/controllers/components/SearchBar.php index afdc8c4b9..d19113177 100644 --- a/application/controllers/components/SearchBar.php +++ b/application/controllers/components/SearchBar.php @@ -18,7 +18,9 @@ class SearchBar extends FHC_Controller parent::__construct(); // Loads the AuthLib _without_ starting the authentication - // NOTE: a user must be authenticated via another controller to access this one + // NOTE: + // - A user must be authenticated via another controller to access this one + // - It is loaded to be able to call the isLogged function later $this->load->library('AuthLib', array(false)); // Load the library SearchBarLib