From 1da0ea86f04c4d46fef8b3e090d9a28ae8504063 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 4 May 2025 19:45:57 +0000 Subject: [PATCH] more wording --- include/text.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/text.php b/include/text.php index ad9f7cca8..9ac6efdc2 100644 --- a/include/text.php +++ b/include/text.php @@ -2386,11 +2386,13 @@ function item_post_type($item) { break; } - if(strlen($item['verb']) && (! activity_match($item['verb'],ACTIVITY_POST))) + if(strlen($item['verb']) && (!activity_match($item['verb'], ['Create', ACTIVITY_POST]))) { $post_type = t('activity'); + } - if($item['obj_type'] === 'Question') + if($item['obj_type'] === 'Question') { $post_type = t('poll'); + } return $post_type; }