Fix can't always find the merge app

This commit is contained in:
nathangray 2019-04-04 09:43:00 -06:00
parent f33ed6b100
commit 2d644d930e

View File

@ -1524,7 +1524,7 @@ abstract class Merge
break;
default:
$app = str_replace('_merge','',get_class($this));
if(!in_array($app, $GLOBALS['egw_info']['apps']))
if(!in_array($app, array_keys($GLOBALS['egw_info']['apps'])))
{
$app = false;
}