Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv9040/lib
Modified Files:
stdlib.php
Log Message:
Fixed my bug: date header in RecentChanges not updating correctly.
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** stdlib.php 2001/02/16 04:43:08 1.34
--- stdlib.php 2001/02/17 00:47:08 1.35
***************
*** 610,620 ****
'----');
}
- $recentchanges['lastmodified'] = $now;
! if (date($dateformat, $recentchanges['lastmodified']) != $today) {
! $isNewDay = TRUE;
! } else {
! $isNewDay = FALSE;
! }
$numlines = sizeof($recentchanges['content']);
--- 610,616 ----
'----');
}
! $isNewDay = date($dateformat, $recentchanges['lastmodified']) != $today;
! $recentchanges['lastmodified'] = $now;
$numlines = sizeof($recentchanges['content']);
|