View : Fixed Notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:22:56 +01:00
parent bf04c8e051
commit 74ddd2faa2

View file

@ -25,7 +25,7 @@ require_once 'core.php';
if(LSsession :: startLSsession()) {
if (isset($_REQUEST['LSobject'])) {
$LSobject = $_REQUEST['LSobject'];
$dn = $_REQUEST['dn'];
$dn = isset($_REQUEST['dn'])?$_REQUEST['dn']:null;
if (LSsession :: in_menu($LSobject)) {
@ -140,7 +140,7 @@ if(LSsession :: startLSsession()) {
$LSsearch -> redirectWhenOnlyOneResult();
$page=(int)$_REQUEST['page'];
$page=(isset($_REQUEST['page'])?(int)$_REQUEST['page']:0);
$page = $LSsearch -> getPage($page);
$GLOBALS['Smarty']->assign('page',$page);
$GLOBALS['Smarty']->assign('LSsearch',$LSsearch);