[geeklog-hg] geeklog: Fixed incorrect declaration of plugin_configchange_temp...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Jun 27 12:44:38 EDT 2013


changeset 9135:5b0f957dc61e
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/5b0f957dc61e
user: Tom <websitemaster at cogeco.net>
date: Tue Jun 25 16:54:07 2013 -0400
description:
Fixed incorrect declaration of plugin_configchange_template and plugin_configchange_article

diffstat:

 system/lib-story.php    |  2 +-
 system/lib-template.php |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r cdf7b02cca2d -r 5b0f957dc61e system/lib-story.php
--- a/system/lib-story.php	Tue Jun 25 14:15:33 2013 -0400
+++ b/system/lib-story.php	Tue Jun 25 16:54:07 2013 -0400
@@ -1609,7 +1609,7 @@
 * @return   nothing
 *
 */
-function plugin_configchange_article($group, $changes)
+function plugin_configchange_article($group, $changes = array())
 {
     global $_TABLES, $_CONF;
 
diff -r cdf7b02cca2d -r 5b0f957dc61e system/lib-template.php
--- a/system/lib-template.php	Tue Jun 25 14:15:33 2013 -0400
+++ b/system/lib-template.php	Tue Jun 25 16:54:07 2013 -0400
@@ -122,7 +122,7 @@
 * @return   nothing
 *
 */
-function plugin_configchange_template($group, $changes)
+function plugin_configchange_template($group, $changes = array())
 {
     global $_TABLES, $_CONF;
 



More information about the geeklog-cvs mailing list