diff options
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); |