Fix PHP5 error compatibility in last commit

This commit is contained in:
Benjamin Renard 2021-02-03 14:46:06 +01:00
parent 0ec390e1fe
commit 724e9acedd

View file

@ -1778,7 +1778,7 @@ function handle_api_LSobject_relation($request) {
LSsession :: setAjaxDisplay();
$object = get_LSobject_from_API_request(
$request,
true, // instanciate object
true // instanciate object
);
if (!$object)
return;