mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
routes.php: fix error calling LSsession::addErrorCode() vs LSerror::addErrorCode()
This commit is contained in:
parent
4b634e408d
commit
09d1aeb020
1 changed files with 5 additions and 5 deletions
|
@ -139,7 +139,7 @@ function handle_global_search($request) {
|
|||
}
|
||||
|
||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||
LSsession :: addErrorCode('LSsession_05','LSsearch');
|
||||
LSerror :: addErrorCode('LSsession_05','LSsearch');
|
||||
LSsession :: displayTemplate();
|
||||
return false;
|
||||
}
|
||||
|
@ -429,7 +429,7 @@ function handle_LSobject_search($request) {
|
|||
$LSobject = $object -> getType();
|
||||
|
||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSsession :: displayTemplate();
|
||||
return false;
|
||||
}
|
||||
|
@ -547,7 +547,7 @@ function handle_LSobject_search_customAction($request) {
|
|||
return;
|
||||
|
||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSsession :: displayTemplate();
|
||||
return false;
|
||||
}
|
||||
|
@ -674,7 +674,7 @@ LSurl :: add_handler('#^custom_search_action\.php#', 'handle_old_custom_search_a
|
|||
**/
|
||||
function handle_LSobject_select($request) {
|
||||
if (!LSsession :: loadLSclass('LSselect')) {
|
||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSsession :: displayTemplate();
|
||||
return false;
|
||||
}
|
||||
|
@ -1563,7 +1563,7 @@ function handle_api_LSobject_search($request) {
|
|||
$LSobject = $object -> getType();
|
||||
|
||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||
LSsession :: displayAjaxReturn();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue