summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-25 19:04:09 +0200
committerandi <andi@splitbrain.org>2005-04-25 19:04:09 +0200
commit30f1737da3d78693c37d6d8e2cb46fc02f50ad13 (patch)
tree23226e250ddc80375c4587863db51c9f9fcdafa7
parent06bd9a88e461432a194ab8eb13025b838b34f71a (diff)
downloadrpg-30f1737da3d78693c37d6d8e2cb46fc02f50ad13.tar.gz
rpg-30f1737da3d78693c37d6d8e2cb46fc02f50ad13.tar.bz2
fix for html_wikilink (fixes #270)
darcs-hash:20050425170409-9977f-3d5c0e2a8c210d215ed37ef67b0c6dcabab08ca4.gz
-rw-r--r--inc/html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index f63be6bc9..7ebe1d6a1 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -15,7 +15,7 @@
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
-function html_wikilink($id,$name='',$search=''){
+function html_wikilink($id,$name=NULL,$search=''){
require_once(DOKU_INC.'inc/parser/xhtml.php');
static $xhtml_renderer = NULL;
if(is_null($xhtml_renderer)){
@@ -478,6 +478,7 @@ function html_index($ns){
global $ID;
$dir = $conf['datadir'];
$ns = cleanID($ns);
+ #fixme use appropriate function
if(empty($ns)){
$ns = dirname(str_replace(':','/',$ID));
if($ns == '.') $ns ='';