[geeklog-hg] geeklog: Added defaults to function variables when creating a ne...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Apr 18 10:33:15 EDT 2013


changeset 9051:979d665e6516
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/979d665e6516
user: Tom <websitemaster at cogeco.net>
date: Thu Apr 18 10:32:45 2013 -0400
description:
Added defaults to function variables when creating a new template.

diffstat:

 system/classes/template.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d78184bc16d7 -r 979d665e6516 system/classes/template.class.php
--- a/system/classes/template.class.php	Wed Apr 17 14:27:31 2013 -0400
+++ b/system/classes/template.class.php	Thu Apr 18 10:32:45 2013 -0400
@@ -293,7 +293,7 @@
     * @access    public
     * @return    void
     */
-    function Template($root = array(), $unknowns = "")
+    function Template($root = array('.'), $unknowns = 'remove')
     {
         global $_CONF, $TEMPLATE_OPTIONS;
 



More information about the geeklog-cvs mailing list