Replace fleeting 'No messages' notification with regular text

This commit is contained in:
Marcus Funch 2025-06-02 19:18:45 +02:00 committed by oldkid
parent 5c141ee93a
commit 5c1c4dffdf
2 changed files with 62 additions and 62 deletions

View file

@ -207,7 +207,7 @@ function message_content()
$r = get_messages(DI::userSession()->getLocalUserId(), $pager->getStart(), $pager->getItemsPerPage());
if (!DBA::isResult($r)) {
DI::sysmsg()->addNotice(DI::l10n()->t('No messages.'));
$o .= DI::l10n()->t('You have no messages.');
return $o;
}