Issue #2249723 by andrei.dincu: invokeAll() takes second parameter as array in xmlsitemap.module