* Api: Fix missing translation when deleting an account

This commit is contained in:
nathangray 2020-04-07 12:01:59 -06:00
parent 7462bd0177
commit 55c90c880c

View File

@ -292,6 +292,7 @@ class admin_account
*/ */
public static function delete(array $content=null) public static function delete(array $content=null)
{ {
Api\Translation::add_app('admin');
if (!is_array($content)) if (!is_array($content))
{ {
if (isset($_GET['contact_id']) && ($account_id = $GLOBALS['egw']->accounts->name2id((int)$_GET['contact_id'], 'person_id'))) if (isset($_GET['contact_id']) && ($account_id = $GLOBALS['egw']->accounts->name2id((int)$_GET['contact_id'], 'person_id')))