Fix error "Unexpected token '?'" happens for none ES11 supportive browsers

This commit is contained in:
Hadi Nategh 2021-04-23 12:16:17 +02:00
parent 6de4f5828f
commit 5fd83ae3eb

View File

@ -107,7 +107,7 @@ function egw_getObjectManager(_id, _create, _search_depth) {
* @return {egwActionObjectManager}
*/
function egw_getAppObjectManager(_create, _appName) {
return egw_getObjectManager(_appName ?? egw_getAppName(), _create,1);
return egw_getObjectManager(_appName ? _appName : egw_getAppName(), _create,1);
}
/**