From b38b7d975e9fddb6c72b85588ff97bf295e8e94b Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 3 Feb 2001 03:31:00 +0000 Subject: [PATCH] minor changes --- admin/editaccount.php | 1 + phpgwapi/inc/class.applications.inc.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/editaccount.php b/admin/editaccount.php index 6731aaaa0c..adc237ef0b 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -105,6 +105,7 @@ } } $apps->save_apps(); + @reset($new_permissions); $cd = account_edit(array('loginid' => $n_loginid, 'firstname' => $n_firstname, 'lastname' => $n_lastname, 'passwd' => $n_passwd, diff --git a/phpgwapi/inc/class.applications.inc.php b/phpgwapi/inc/class.applications.inc.php index 0a90d82e38..ead12bf936 100755 --- a/phpgwapi/inc/class.applications.inc.php +++ b/phpgwapi/inc/class.applications.inc.php @@ -141,7 +141,7 @@ $name = $this->db->f("app_name"); $title = $this->db->f("app_title"); $status = $this->db->f("app_enabled"); - $phpgw_info["apps"]["$name"] = array("title" => $title, "name" => $name, "enabled" => True, "status" => $status); + $phpgw_info["apps"][$name] = array("title" => $title, "name" => $name, "enabled" => True, "status" => $status); } } }