Merge branch 'master' into develop

This commit is contained in:
Lucas Bartholemy 2022-07-27 11:59:52 +02:00
commit 6d34699e78
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,8 @@ HumHub Changelog
1.11.5 (Unreleased)
---------------------
- Fix #5806: Alignments for People filters with Select2 mode
- Fix #5806: Alignments for People filters with Select2 mode
- Fix #5813: Fix deprecated null value for hour param in `mktime()`
1.11.4 (July 6, 2022)

View File

@ -66,7 +66,7 @@
"symfony/postmark-mailer": "^5.4",
"symfony/sendgrid-mailer": "^5.4",
"symfony/sendinblue-mailer": "^5.4",
"twig/twig": "^1.0",
"twig/twig": "^3.4.1",
"web-token/jwt-checker": ">=1.0 <3.0",
"web-token/jwt-signature": ">=1.0 <3.0",
"web-token/jwt-signature-algorithm-ecdsa": ">=1.0 <3.0",

View File

@ -164,7 +164,7 @@ class Events extends \yii\base\BaseObject
{
return Notification::deleteAll(['AND',
['seen' => (int)$seen],
['<', 'created_at', date('Y-m-d', mktime(null, null, null, date('m') - $months))],
['<', 'created_at', date('Y-m-d', mktime(0, 0, 0, date('m') - $months))],
]);
}