Commit b3d12466 authored by Dave Reid's avatar Dave Reid
Browse files

#790520, #812412 follow-up by Dave Reid: Fixed fatal error on module install.

parent a2ea3100
......@@ -319,11 +319,11 @@ function xmlsitemap_install() {
->execute();
// Insert the default context sitemap.
$context = serialize(array());
$context = array();
db_insert('xmlsitemap_sitemap')
->fields(array(
'context' => $context,
'context_hash' => md5($context),
'smid' => xmlsitemap_sitemap_get_context_hash($context),
'context' => serialize($context),
))
->execute();
......
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