summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-26 10:47:20 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-26 10:47:20 +0000
commit6826f8640d30a171bba5c0455878f341f5cd90c9 (patch)
tree71782659a7e13e24e0b91756219a690d3f944007 /includes
parent680de534b026bb3b0dfcede57f773c00e300e4a8 (diff)
downloadbrdo-6826f8640d30a171bba5c0455878f341f5cd90c9.tar.gz
brdo-6826f8640d30a171bba5c0455878f341f5cd90c9.tar.bz2
- Patch #730420 by andrewmacpherson: make html.tpl.php less dependant on rdf namespaces.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
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) : '';
}
/**