Mise en facteur de nombreux code et uniformisation codage sur le LDAP
This commit is contained in:
parent
2a59cf8433
commit
f58cabb566
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -63,12 +64,12 @@ if ($resql)
|
||||
{
|
||||
$obj = $db->fetch_object($resql);
|
||||
|
||||
print $langs->trans("UpdateContact")." rowid=".$obj->rowid;
|
||||
|
||||
$contact = new Contact($db);
|
||||
$contact->id = $obj->rowid;
|
||||
$contact->fetch($contact->id);
|
||||
|
||||
print $langs->trans("UpdateContact")." rowid=".$contact->id." ".$contact->fullname;
|
||||
|
||||
$result=$contact->update_ldap($user);
|
||||
if ($result > 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user