From: Pierre Habouzit (MadCoder Date: Fri, 3 Dec 2004 16:48:46 +0000 (+0000) Subject: let's pretend we saw nothin' X-Git-Tag: xorg/old~706 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=39f18447f2be7622ab306db55a3d6ff39906ff5e;p=platal.git let's pretend we saw nothin' git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-36 --- 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;