From 6826f8640d30a171bba5c0455878f341f5cd90c9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 26 May 2010 10:47:20 +0000 Subject: - Patch #730420 by andrewmacpherson: make html.tpl.php less dependant on rdf namespaces. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index ed635e6c0..43661e524 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -262,7 +262,7 @@ function drupal_get_rdf_namespaces() { $xml_rdf_namespaces[] = 'xmlns:' . $prefix . '="' . $uri . '"'; } } - return implode("\n ", $xml_rdf_namespaces); + return count($xml_rdf_namespaces) ? "\n " . implode("\n ", $xml_rdf_namespaces) : ''; } /** -- cgit v1.2.3