you've gotta' be on your toes to catch this bug... though it's been here for about 2 1/2 years and even survived a rewrite. Symptoms are that the archive widget only lists one month (the month when you first posted), and only if your first post was written between the 28th and 31st of whatever month that was.
This commit is contained in:
parent
d5edd89dd2
commit
d7cb5c0436
@ -4131,7 +4131,7 @@ function list_post_dates($uid,$wall) {
|
||||
if(intval(substr($dnow,8)) > 28)
|
||||
$dnow = substr($dnow,0,8) . '28';
|
||||
if(intval(substr($dthen,8)) > 28)
|
||||
$dnow = substr($dthen,0,8) . '28';
|
||||
$dthen = substr($dthen,0,8) . '28';
|
||||
|
||||
$ret = array();
|
||||
// Starting with the current month, get the first and last days of every
|
||||
@ -4165,7 +4165,7 @@ function posted_dates($uid,$wall) {
|
||||
if(intval(substr($dnow,8)) > 28)
|
||||
$dnow = substr($dnow,0,8) . '28';
|
||||
if(intval(substr($dthen,8)) > 28)
|
||||
$dnow = substr($dthen,0,8) . '28';
|
||||
$dthen = substr($dthen,0,8) . '28';
|
||||
|
||||
$ret = array();
|
||||
// Starting with the current month, get the first and last days of every
|
||||
|
@ -1 +1 @@
|
||||
2014-10-21.835
|
||||
2014-10-22.836
|
||||
|
Reference in New Issue
Block a user