Skip to content
Snippets Groups Projects
Commit ed5b5264 authored by Arthur Suzuki's avatar Arthur Suzuki
Browse files

fix Class/Sitemap.php : mkdir doesn't return $this

parent 2df629e6
Branches
Tags
1 merge request!4825fix Class/Sitemap.php : mkdir doesn't return $this
Pipeline #25728 passed with stage
in 13 minutes and 43 seconds
......@@ -110,8 +110,8 @@ class Class_Sitemap {
$this->xml->appendChild($urlset);
$this->file_system->mkdir(PATH_TEMP)
->filePutContents(static::getSitemapPath(),
$this->file_system->mkdir(PATH_TEMP);
$this->file_system->filePutContents(static::getSitemapPath(),
$this->xml->saveXML());
return $this;
}
......
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