From aed86715fe2070a17243ebe080dc90dcf3829106 Mon Sep 17 00:00:00 2001 From: jengo Date: Sat, 17 Feb 2001 09:40:29 +0000 Subject: [PATCH] Fixed edit account, it now appears to be working again --- phpgwapi/inc/class.accounts_sql.inc.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 5d2de73bd3..def905712b 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -59,6 +59,15 @@ return $this->data; } + function save_repository() + { + $this->db->query("update phpgw_accounts set account_firstname='" . $this->data['firstname'] + . "', account_lastname='" . $this->data['lastname'] . "', account_status='" + . $this->data['status'] . "' where account_id='" . $this->account_id . "'",__LINE__,__FILE__); + + } + + function get_list($_type='both') { global $phpgw, $phpgw_info;