Replace "notice" calls

This commit is contained in:
Michael
2022-10-17 11:27:32 +00:00
parent 62a0d55fc8
commit 4ff7c37f85
10 changed files with 42 additions and 42 deletions

View File

@@ -59,7 +59,7 @@ function match_content(App $a)
return '';
}
if (!$profile['pub_keywords'] && (!$profile['prv_keywords'])) {
notice(DI::l10n()->t('No keywords to match. Please add keywords to your profile.'));
DI::sysmsg()->addNotice(DI::l10n()->t('No keywords to match. Please add keywords to your profile.'));
return '';
}