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')) {
|
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||||
LSsession :: addErrorCode('LSsession_05','LSsearch');
|
LSerror :: addErrorCode('LSsession_05','LSsearch');
|
||||||
LSsession :: displayTemplate();
|
LSsession :: displayTemplate();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -429,7 +429,7 @@ function handle_LSobject_search($request) {
|
||||||
$LSobject = $object -> getType();
|
$LSobject = $object -> getType();
|
||||||
|
|
||||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||||
LSsession :: displayTemplate();
|
LSsession :: displayTemplate();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -547,7 +547,7 @@ function handle_LSobject_search_customAction($request) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||||
LSsession :: displayTemplate();
|
LSsession :: displayTemplate();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -674,7 +674,7 @@ LSurl :: add_handler('#^custom_search_action\.php#', 'handle_old_custom_search_a
|
||||||
**/
|
**/
|
||||||
function handle_LSobject_select($request) {
|
function handle_LSobject_select($request) {
|
||||||
if (!LSsession :: loadLSclass('LSselect')) {
|
if (!LSsession :: loadLSclass('LSselect')) {
|
||||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||||
LSsession :: displayTemplate();
|
LSsession :: displayTemplate();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1563,7 +1563,7 @@ function handle_api_LSobject_search($request) {
|
||||||
$LSobject = $object -> getType();
|
$LSobject = $object -> getType();
|
||||||
|
|
||||||
if (!LSsession :: loadLSclass('LSsearch')) {
|
if (!LSsession :: loadLSclass('LSsearch')) {
|
||||||
LSsession :: addErrorCode('LSsession_05', 'LSsearch');
|
LSerror :: addErrorCode('LSsession_05', 'LSsearch');
|
||||||
LSsession :: displayAjaxReturn();
|
LSsession :: displayAjaxReturn();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue