Commit 66e9e278 authored by andrei.dincu's avatar andrei.dincu

Issue #2249723 by andrei.dincu: Put NULL as conditions instead of array() to get all sitemaps

parent c559c05e
......@@ -359,7 +359,7 @@ function xmlsitemap_sitemap_load_multiple($smids = array(), array $conditions =
$conditions['smid'] = $smids;
}
else {
$conditions['smid'] = array();
$conditions['smid'] = NULL;
}
$storage = Drupal::entityManager()->getStorage('xmlsitemap');
......
Markdown is supported
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