Select : Fixed Notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:23:34 +01:00
parent 74ddd2faa2
commit ea3576a7e1

View file

@ -92,7 +92,7 @@ if(LSsession :: startLSsession()) {
$GLOBALS['Smarty']->assign('LSview_actions',$LSview_actions); $GLOBALS['Smarty']->assign('LSview_actions',$LSview_actions);
$LSsearch -> run(); $LSsearch -> run();
$page=(int)$_REQUEST['page']; $page=(isset($_REQUEST['page'])?(int)$_REQUEST['page']:0);
$page = $LSsearch -> getPage($page); $page = $LSsearch -> getPage($page);
$GLOBALS['Smarty']->assign('page',$page); $GLOBALS['Smarty']->assign('page',$page);
$GLOBALS['Smarty']->assign('LSsearch',$LSsearch); $GLOBALS['Smarty']->assign('LSsearch',$LSsearch);