mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
View : Fixed Notice PHP
This commit is contained in:
parent
bf04c8e051
commit
74ddd2faa2
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ require_once 'core.php';
|
||||||
if(LSsession :: startLSsession()) {
|
if(LSsession :: startLSsession()) {
|
||||||
if (isset($_REQUEST['LSobject'])) {
|
if (isset($_REQUEST['LSobject'])) {
|
||||||
$LSobject = $_REQUEST['LSobject'];
|
$LSobject = $_REQUEST['LSobject'];
|
||||||
$dn = $_REQUEST['dn'];
|
$dn = isset($_REQUEST['dn'])?$_REQUEST['dn']:null;
|
||||||
|
|
||||||
if (LSsession :: in_menu($LSobject)) {
|
if (LSsession :: in_menu($LSobject)) {
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ if(LSsession :: startLSsession()) {
|
||||||
|
|
||||||
$LSsearch -> redirectWhenOnlyOneResult();
|
$LSsearch -> redirectWhenOnlyOneResult();
|
||||||
|
|
||||||
$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);
|
||||||
|
|
Loading…
Reference in a new issue