From e8031568d340686d20c150301e034dfb777e95b6 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Fri, 13 Jun 2008 18:35:30 +0200 Subject: [PATCH] Removes the last direct call to get_user_login(). Signed-off-by: Vincent Zanotti --- modules/carnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/carnet.php b/modules/carnet.php index febcf3b..39e645e 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -236,7 +236,7 @@ class CarnetModule extends PLModule case 'ajouter': require_once('user.func.inc.php'); - if (($login = get_user_login($user)) !== false) { + if (($login = get_user_forlife($user)) !== false) { if (XDB::execute( 'REPLACE INTO contacts (uid, contact) SELECT {?}, id -- 2.1.4