Issue 9992: post type hadn't been translated in the user's language

This commit is contained in:
Michael 2021-03-07 07:39:13 +00:00
commit 1940c17030
2 changed files with 9 additions and 8 deletions

View file

@ -172,7 +172,7 @@ function notification($params)
return false;
}
$item_post_type = Item::postType($item);
$item_post_type = Item::postType($item, $l10n);
$content = Plaintext::getPost($item, 70);
if (!empty($content['text'])) {