diff options
author | friendica <info@friendica.com> | 2014-10-22 16:41:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-22 16:41:06 -0700 |
commit | d7cb5c0436081214afefbd876a127173ebfa1b74 (patch) | |
tree | fe5a54f51f20ad1a8511c084a1782e2ee8951f47 | |
parent | d5edd89dd2bcfae198bb316c4f9be212937e9fa5 (diff) | |
download | volse-hubzilla-d7cb5c0436081214afefbd876a127173ebfa1b74.tar.gz volse-hubzilla-d7cb5c0436081214afefbd876a127173ebfa1b74.tar.bz2 volse-hubzilla-d7cb5c0436081214afefbd876a127173ebfa1b74.zip |
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.
-rwxr-xr-x | include/items.php | 4 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php index 75eaecb20..a0c81f5ae 100755 --- a/include/items.php +++ b/include/items.php @@ -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 diff --git a/version.inc b/version.inc index a9ceeba21..1f7ba0290 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-10-21.835 +2014-10-22.836 |