From 99dca51357b98d8450d43d66b5596504722809c0 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 3 Aug 2013 23:34:20 +0200 Subject: added missing default --- inc/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'].'/'; -- cgit v1.2.3