From 90b4873a00b0d8b4249a323fc84a7460024f491b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 27 May 2008 07:42:19 -0400 Subject: client side of distributed subscription almost complete darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz --- actions/xrds.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actions/xrds.php') diff --git a/actions/xrds.php b/actions/xrds.php index 6b4c3cdf5..d59928e91 100644 --- a/actions/xrds.php +++ b/actions/xrds.php @@ -107,7 +107,9 @@ class XrdsAction extends Action { function show_service($type, $uri, $params=NULL, $sigs=NULL, $localId=NULL) { common_element_start('Service'); - common_element('URI', NULL, $uri); + if ($uri) { + common_element('URI', NULL, $uri); + } common_element('Type', NULL, $type); if ($params) { foreach ($params as $param) { -- cgit v1.2.3-54-g00ecf