From: Benjamin Renard Date: Tue, 16 Nov 2010 18:23:34 +0000 (+0100) Subject: Select : Fixed Notice PHP X-Git-Tag: 1.0-1~210 X-Git-Url: http://git.labs.libre-entreprise.org/?p=ldapsaisie.git;a=commitdiff_plain;h=ea3576a7e145b93ab103c1a694dc82def03abed7;hp=74ddd2faa23bda7f95087fe469b108dd8d2c48ee Select : Fixed Notice PHP --- diff --git a/public_html/select.php b/public_html/select.php index ebbdbcf..fbcf5e4 100644 --- a/public_html/select.php +++ b/public_html/select.php @@ -92,7 +92,7 @@ if(LSsession :: startLSsession()) { $GLOBALS['Smarty']->assign('LSview_actions',$LSview_actions); $LSsearch -> run(); - $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);