Replace fleeting 'No messages' notification with regular text
This commit is contained in:
parent
5c141ee93a
commit
5c1c4dffdf
2 changed files with 62 additions and 62 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue