mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
Fix PHP warning about undefined constant SELF (routes.php)
This commit is contained in:
parent
e0bf5a73f5
commit
6c35af3109
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ function handle_global_search($request) {
|
|||
$onlyOneObject = false;
|
||||
$pages=array();
|
||||
foreach ($LSaccess as $LSobject => $label) {
|
||||
if ( $LSobject == SELF || !LSsession :: loadLSobject($LSobject) )
|
||||
if ( $LSobject == "SELF" || !LSsession :: loadLSobject($LSobject) )
|
||||
continue;
|
||||
if (!LSconfig::get("LSobjects.$LSobject.globalSearch", true, 'bool'))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue