mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
Merge pull request #1092 from annando/master
Bugfix: Messages when ignoring, blocking and archiving contacts now returns the correct text.
This commit is contained in:
commit
ae2094487b
2 changed files with 14 additions and 15 deletions
|
@ -4566,13 +4566,9 @@ function posted_dates($uid,$wall) {
|
|||
if(! $dthen)
|
||||
return array();
|
||||
|
||||
// If it's near the end of a long month, backup to the 28th so that in
|
||||
// consecutive loops we'll always get a whole month difference.
|
||||
|
||||
if(intval(substr($dnow,8)) > 28)
|
||||
$dnow = substr($dnow,0,8) . '28';
|
||||
if(intval(substr($dthen,8)) > 28)
|
||||
$dnow = substr($dthen,0,8) . '28';
|
||||
// Set the start and end date to the beginning of the month
|
||||
$dnow = substr($dnow,0,8).'01';
|
||||
$dthen = substr($dthen,0,8).'01';
|
||||
|
||||
$ret = array();
|
||||
// Starting with the current month, get the first and last days of every
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue