diff --git a/setup/applications.php b/setup/applications.php index 0a900160d8..b2daec61d2 100644 --- a/setup/applications.php +++ b/setup/applications.php @@ -436,7 +436,7 @@ else switch($value['status']) { case 'C': - $setup_tpl->set_var('remove', in_array($key, array('api', 'phpgwapi')) ? ' ' : '<input type="checkbox" name="remove[' . $value['name'] . ']" />'); + $setup_tpl->set_var('remove', $key == 'api' ? ' ' : '<input type="checkbox" name="remove[' . $value['name'] . ']" />'); $setup_tpl->set_var('upgrade',' '); if (!$GLOBALS['egw_setup']->detection->check_app_tables($value['name'])) {