From d2714dedf88b4a5fa2f115978d14a343cb2a90f1 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 7 Apr 2001 17:06:26 +0000 Subject: [PATCH] Adjust to pass account_type in data array, as with other accounts backends --- phpgwapi/inc/class.accounts_contacts.inc.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.accounts_contacts.inc.php b/phpgwapi/inc/class.accounts_contacts.inc.php index 13028654a0..e1e83351fc 100644 --- a/phpgwapi/inc/class.accounts_contacts.inc.php +++ b/phpgwapi/inc/class.accounts_contacts.inc.php @@ -1,10 +1,10 @@ * + * phpGroupWare API - Accounts manager for the contacts class * + * This file written by Miles Lott * * and Lars Kneschke * - * View and manipulate account records using LDAP * - * Copyright (C) 2000, 2001 Joseph Engo * + * View and manipulate account records using the contacts class * + * Copyright (C) 2000, 2001 Miles Lott * * -------------------------------------------------------------------------* * This library is part of the phpGroupWare API * * http://www.phpgroupware.org/api * @@ -61,6 +61,7 @@ /* Now dump it into the array */ $this->data["account_id"] = $allValues[0]["id"]; $this->data["account_lid"] = $allValues[0]["lid"]; + $this->data["account_type"] = $allValues[0]["tid"]; $this->data["firstname"] = $allValues[0]["n_given"]; $this->data["lastname"] = $allValues[0]["n_family"]; $this->data["fullname"] = $allValues[0]["fn"];