--- docman.php 2000/09/07 10:19:34 1.19 +++ docman.php 2000/09/13 08:08:22 1.20 @@ -1137,11 +1137,11 @@ function DisplayChangeLog($day) { global $gblFsRoot; - if (!file_exists("gblFsRoot/.changelog")) return; + if (!file_exists("$gblFsRoot/.changelog")) return; $log=fopen("$gblFsRoot/.changelog","r"); $logarr = array(); while($line = fgetcsv($log,255,"\t")) { - if ($day!=1 || $day==1 && $line[0]-time() < 24*60) { + if ($day!=1 || $day==1 && ($line[0]-time() < 24*60)) { array_unshift($logarr,array($line[0],$line[1],$line[2],$line[3])); } }