]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Replace "notice" calls
[friendica.git] / mod / match.php
index 02ee0c3339241bc2a5a490a5238cf3d8695da6ab..5a5d3be93d9941e67ce7ae6d8eb32eee8ad62d23 100644 (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 '';
        }