Skip to content

Commit

Permalink
fix sitemap creation crash in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick committed Jul 23, 2019
1 parent 227b929 commit 249f926
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sources/sitemap_xml.php
Expand Up @@ -373,6 +373,10 @@ function canonicalise_sitemap_page_link(&$page_link)
*/ */
function notify_sitemap_node_add($page_link, $add_date, $edit_date, $priority, $refreshfreq, $guest_access) function notify_sitemap_node_add($page_link, $add_date, $edit_date, $priority, $refreshfreq, $guest_access)
{ {
if (running_script('install')) {
return;
}

canonicalise_sitemap_page_link($page_link); canonicalise_sitemap_page_link($page_link);


// Maybe we're still installing // Maybe we're still installing
Expand Down

0 comments on commit 249f926

Please sign in to comment.