Update src/Object/Post.php

Rename from 'parent unknown' to 'Unkknown parent"

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
xundeenergie 2023-10-11 20:33:49 +02:00 committed by GitHub
parent 1031bc1801
commit c7f1c30f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -499,7 +499,7 @@ class Post
$parent_guid = $thread_parent[$item['thr-parent-id']]['guid'] ?? ''; $parent_guid = $thread_parent[$item['thr-parent-id']]['guid'] ?? '';
$parent_username = $thread_parent[$item['thr-parent-id']]['name'] ?? ''; $parent_username = $thread_parent[$item['thr-parent-id']]['name'] ?? '';
$parent_unknown = $parent_username ? '' : DI::l10n()->t('parent unknown'); $parent_unknown = $parent_username ? '' : DI::l10n()->t('Unknown parent');
$tmp_item = [ $tmp_item = [
'parentguid' => $parent_guid, 'parentguid' => $parent_guid,