Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv22315
Modified Files:
serendipity_functions.inc.php
Log Message:
Fixed bug when displaying individual days by clicking on the calendar
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- serendipity_functions.inc.php 28 Apr 2003 16:22:34 -0000 1.35
+++ serendipity_functions.inc.php 28 Apr 2003 16:59:12 -0000 1.36
@@ -183,7 +183,7 @@
$day = (int)substr($range, 6, 2);
$startts = mktime(0, 0, 0, $month, $day, $year);
- $endts = mktime(0, 0, 0, $month+1, 0, $year);
+ $endts = mktime(0, 0, 0, $month, $day+1, $year);
$and = " WHERE timestamp >= $startts AND timestamp <= $endts ";
} else {
|