Refresh the updated_at timestamp of invitation after resend it (#7232)

This commit is contained in:
Yuriy Bakhtin 2024-09-27 14:42:48 +03:00 committed by GitHub
parent df61147fa6
commit d3e323b7dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@ HumHub Changelog
- Fix #7222: Fix rendering of checkbox on MacOS and iOS
- Fix #7225: Fix module JS config initialisation on AJAX request
- Fix #7227: Fix search reindexing after create new content
- Fix #7232: Refresh the updated_at timestamp of invitation after resend it
1.16.2 (September 5, 2024)
--------------------------

View File

@ -227,6 +227,11 @@ class Invite extends ActiveRecord
Yii::$app->setLanguage(Yii::$app->user->language);
}
if ($result) {
// Refresh the updated_at timestamp
$this->save();
}
return $result;
}