From 39f18447f2be7622ab306db55a3d6ff39906ff5e Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Fri, 3 Dec 2004 16:48:46 +0000 Subject: [PATCH] let's pretend we saw nothin' git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-36 --- include/lists.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lists.inc.php b/include/lists.inc.php index 717c0ff..f986cbc 100644 --- a/include/lists.inc.php +++ b/include/lists.inc.php @@ -30,7 +30,7 @@ function &lists_xmlrpc($uid, $pass, $fqdn=null) { global $globals; - $dom = empty($fqdn) ? $globals->mail->domain; + $dom = empty($fqdn) ? $globals->mail->domain : $fqdn; $url = "http://$uid:$pass/{$globals->lists->rpchost}:{$globals->lists->rpcport}/$dom"; $client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org"); return $client; -- 2.1.4