[geeklog-cvs] geeklog: Fixed "missing argument 2" error when changing config o...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat May 2 05:55:35 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/6d6351820714
changeset: 7012:6d6351820714
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat May 02 11:51:40 2009 +0200
description:
Fixed "missing argument 2" error when changing config options (reported by Markus Wollschl?ger)

diffstat:

2 files changed, 9 insertions(+), 1 deletion(-)
plugins/xmlsitemap/functions.inc |    2 +-
public_html/docs/history         |    8 ++++++++

diffs (31 lines):

diff -r 6c74bf38fcd5 -r 6d6351820714 plugins/xmlsitemap/functions.inc
--- a/plugins/xmlsitemap/functions.inc	Sat May 02 11:09:55 2009 +0200
+++ b/plugins/xmlsitemap/functions.inc	Sat May 02 11:51:40 2009 +0200
@@ -428,7 +428,7 @@
 * @param  group    string          - 'Core' or 'xmlsitemap'
 * @param  changes  array of string - config var key
 */
-function plugin_configchange_xmlsitemap($group, $changes)
+function plugin_configchange_xmlsitemap($group, $changes = array())
 {
     global $_XMLSMAP_CONF;
 	
diff -r 6c74bf38fcd5 -r 6d6351820714 public_html/docs/history
--- a/public_html/docs/history	Sat May 02 11:09:55 2009 +0200
+++ b/public_html/docs/history	Sat May 02 11:51:40 2009 +0200
@@ -13,7 +13,15 @@
 Other changes:
 - Added a verbose logging option to the search class and make it default to off
   [Dirk]
+
+Static Pages plugin
+-------------------
 - Fixed a typo that prevented the [staticpage:] autotag from working [Dirk]
+
+XMLSitemap plugin
+-----------------
+- Fixed "missing argument 2" error when changing config options (reported by
+  Markus Wollschläger) [Dirk]
 
 
 May 1, 2009 (1.6.0b1)



More information about the geeklog-cvs mailing list