LSsearch :: loadParamsFromSession() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:38:02 +01:00
parent 5cf3906b14
commit 6792005de2

View file

@ -150,7 +150,7 @@ class LSsearch {
*/ */
private function loadParamsFromSession() { private function loadParamsFromSession() {
LSdebug('LSsearch : load context params session '.$this -> context); 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]; $params = $_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context];
if ($params['filter']) { if ($params['filter']) {