From 2ebd9cda402495c54949ef1657b0eea6a805d1ac Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 12 Apr 2010 06:46:06 +0000 Subject: [PATCH] "Ignore not installed apps" --- admin/inc/class.admin_cmd_change_account_id.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/inc/class.admin_cmd_change_account_id.inc.php b/admin/inc/class.admin_cmd_change_account_id.inc.php index 9fb8ad58c6..5d4c282729 100644 --- a/admin/inc/class.admin_cmd_change_account_id.inc.php +++ b/admin/inc/class.admin_cmd_change_account_id.inc.php @@ -198,6 +198,8 @@ class admin_cmd_change_account_id extends admin_cmd $total = 0; foreach($this->columns2change as $app => $data) { + if (!isset($GLOBALS['egw_info']['apps'][$app])) continue; // $app is not installed + $db = clone($GLOBALS['egw']->db); $db->set_app($app);