diff options
author | friendica <info@friendica.com> | 2012-06-12 21:30:17 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-12 21:30:17 -0700 |
commit | 08af43f3964860f17019fdc42e378a8a0904fe74 (patch) | |
tree | 2ebfcaa8b710b78b5dc985ad2cd398c3be37e9c0 /include | |
parent | 920ea2e1c759b96bbcad246422b33d7f2c8fc552 (diff) | |
download | volse-hubzilla-08af43f3964860f17019fdc42e378a8a0904fe74.tar.gz volse-hubzilla-08af43f3964860f17019fdc42e378a8a0904fe74.tar.bz2 volse-hubzilla-08af43f3964860f17019fdc42e378a8a0904fe74.zip |
edge case
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 8a655594e..f2dde23a7 100755 --- a/include/items.php +++ b/include/items.php @@ -3417,6 +3417,8 @@ function posted_dates($uid,$wall) { $end_month = datetime_convert('','','last day of ' . $dnow,'Y-m-d'); $str = day_translate(datetime_convert('','',$dnow,'F Y')); $ret[] = array($str,$end_month,$start_month); + if($start_month < $dthen) + break; $dnow = datetime_convert('','',$dnow . ' -1 month', 'Y-m-d'); } return $ret; |