Google Sitemap plugin bug

Found a bug? Tell us!!
Post Reply
sniff
Regular
Posts: 8
Joined: Tue Jun 20, 2006 9:54 am
Contact:

Google Sitemap plugin bug

Post by sniff »

This plugin doesn't count with mysqli. There must be added one line into the event_hook function (around line 87):

Code: Select all

            case 'sqlite':
            case 'mysql':
+           case 'mysqli':
                $sqlnullfunction = 'IFNULL';

Without this line, sitemap.xml.gz doesn't contain links to P*.html as well as to all entries.

Cheers,
Vasek
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Google Sitemap plugin bug

Post by garvinhicking »

Hi!

Thanks a lot for that info! I committed your patch.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply