summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
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) : '';
}
/**