LSsearch -> saveParamsInSession() : Fixed Notice PHP

This commit is contained in:
Benjamin Renard 2010-11-09 17:36:22 +01:00
parent de1bdcd827
commit 82bc4ae37d

View file

@ -176,7 +176,7 @@ class LSsearch {
}
foreach ($params as $param => $value) {
if ($_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context][$param]!=$value) {
if ( !isset($_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context][$param]) || $_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context][$param]!=$value) {
LSdebug("S: $param => $value");
$_SESSION['LSsession']['LSsearch'][$this -> LSobject]['params'][$this -> context][$param]=$value;
}