diff options
author | andi <andi@splitbrain.org> | 2005-03-01 19:16:38 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-03-01 19:16:38 +0100 |
commit | 258641c6f7e2489c78367a0a864b000f2935fefa (patch) | |
tree | 3d09e46755f85b952ac0ff451b4e3d36662f7cb8 /inc | |
parent | 88d3a917fc755b07bc59ab80294eb06ae00c5c05 (diff) | |
download | rpg-258641c6f7e2489c78367a0a864b000f2935fefa.tar.gz rpg-258641c6f7e2489c78367a0a864b000f2935fefa.tar.bz2 |
revison sanitizing
darcs-hash:20050301181638-9977f-212463af48be9fb6c4e2f9e738f3eb57878c30f7.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 24e9583f3..b06896f4d 100644 --- a/inc/common.php +++ b/inc/common.php @@ -648,6 +648,9 @@ function getRecents($num=0,$incdel=false){ */ function getRevisionInfo($id,$rev){ global $conf; + + if(!$rev) return(null); + $info = array(); if(!@is_readable($conf['changelog'])){ msg($conf['changelog'].' is not readable',-1); |