let rev 0 be same as no rev
This commit is contained in:
parent
a120d14f17
commit
c1a6788ee7
1 changed files with 1 additions and 1 deletions
2
doku.php
2
doku.php
|
@ -30,7 +30,7 @@ case 'cleanID':
|
|||
echo cleanID($argv[2]);
|
||||
break;
|
||||
case 'wikiFN':
|
||||
if ($argc > 3) {
|
||||
if ($argc > 3 && $argv[3]) {
|
||||
echo strip_dir($conf['olddir'], wikiFN($argv[2], $argv[3]));
|
||||
} else {
|
||||
echo strip_dir($conf['datadir'], wikiFN($argv[2]));
|
||||
|
|
Loading…
Reference in a new issue