diff options
-rw-r--r-- | inc/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php index f6eb488f5..ea73b01b6 100644 --- a/inc/template.php +++ b/inc/template.php @@ -51,7 +51,7 @@ function tpl_incdir($tpl='') { * @param string $tpl The template to use, default to current one * @return string */ -function tpl_basedir($tpl) { +function tpl_basedir($tpl='') { global $conf; if(!$tpl) $tpl = $conf['template']; return DOKU_BASE.'lib/tpl/'.$conf['template'].'/'; |