Custom submission URLs give error message Missing argument 2 for xmlsitemap_engines_prepare_url()

Oleksa - July 3, 2009 - 19:27
Project:XML sitemap
Version:6.x-2.x-dev
Component:xmlsitemap_engines.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I put in Custom submission URLs:
http://yandex.ru/ping?http://www.mysite.ru/sitemap.xml
http://rambler.ru/ping?http://www.mysite.ru/sitemap.xml

pressed "Save" and got following message:

* warning: Missing argument 2 for xmlsitemap_engines_prepare_url(), called in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.admin.inc on line 54 and defined in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.module on line 75.
* warning: Missing argument 2 for xmlsitemap_engines_prepare_url(), called in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.admin.inc on line 54 and defined in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.module on line 75.

#1

Dave Reid - July 3, 2009 - 21:25
Status:active» fixed

Thanks for reporting this bug! I committed a fix and added a test to make sure this doesn't regress. Thanks again!
http://drupal.org/cvs?commit=233286

#2

System Message - July 17, 2009 - 21:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.