[Plugin: Dagon Design Sitemap Generator] Maybe a mistake in the code
-
Hi,
With WP 3.0.1 and Dagon 3.15, I get this error (WP_DEBUG on) :
Notice: Use of undefined constant ddsg_language - assumed 'ddsg_language' in /var/www/vhosts/capdelahague.org/httpdocs/wp-content/plugins/sitemap-generator/sitemap-generator.php on line 45
To fix it in sitemap-generator.php, I replace :
$ddsg_lang_file = trim(get_option(ddsg_language));
with :
$ddsg_lang_file = trim(get_option('ddsg_language'));
because the argument of get_option() must be a string.
Do you agree with me ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Dagon Design Sitemap Generator] Maybe a mistake in the code’ is closed to new replies.