Skip to content
Snippets Groups Projects
Commit bce3726d authored by Andreas Gohr's avatar Andreas Gohr
Browse files

wl(): don't include empty id parameter FS#1138

darcs-hash:20080223133200-7ad00-409ee76b0bb36a1dff7b6f09181692e0742a86fd.gz
parent 9e54d51a
No related branches found
No related tags found
No related merge requests found
......@@ -357,9 +357,12 @@ function wl($id='',$more='',$abs=false,$sep='&'){
}elseif($conf['userewrite']){
$xlink .= $id;
if($more) $xlink .= '?'.$more;
}else{
}elseif($id){
$xlink .= DOKU_SCRIPT.'?id='.$id;
if($more) $xlink .= $sep.$more;
}else{
$xlink .= DOKU_SCRIPT;
if($more) $xlink .= '?'.$more;
}
return $xlink;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment