Commit 054501c0 authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Fixed XMLSitemapWriter::writeElement() not compatible with XMLWriter::writeElement().

parent 4cf34e99
......@@ -113,7 +113,7 @@ class XMLSitemapWriter extends XMLWriter {
* @param $content
* The element contents or an array of the elements' sub-elements.
public function writeElement($name, $content) {
public function writeElement($name, $content = '') {
if (is_array($content)) {
foreach ($content as $sub_name => $sub_content) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment