From 6792005de2dbeb077a78fdd9fd6011c02620401d Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 16 Nov 2010 19:38:02 +0100 Subject: [PATCH] LSsearch :: loadParamsFromSession() : Fixed notice PHP --- public_html/includes/class/class.LSsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSsearch.php b/public_html/includes/class/class.LSsearch.php index a2ca0c67..3c39109d 100644 --- a/public_html/includes/class/class.LSsearch.php +++ b/public_html/includes/class/class.LSsearch.php @@ -150,7 +150,7 @@ class LSsearch { */ private function loadParamsFromSession() { LSdebug('LSsearch : load context params session '.$this -> context); - if (is_array($_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context])) { + if (isset($_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context]) && is_array($_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context])) { $params = $_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context]; if ($params['filter']) {