mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
more wording
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user