- Content\Item versus Model\Item is really confusing!
This commit is contained in:
Roland Häder 2022-09-12 23:31:36 +02:00
parent 8f92d1cc8e
commit 85ed0742cf
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

@ -369,7 +369,7 @@ class Conversation
'$permset' => $this->l10n->t('Permission settings'),
'$shortpermset' => $this->l10n->t('Permissions'),
'$wall' => $notes_cid ? 0 : 1,
'$posttype' => $notes_cid ? Item::PT_PERSONAL_NOTE : Item::PT_ARTICLE,
'$posttype' => $notes_cid ? ItemModel::PT_PERSONAL_NOTE : ItemModel::PT_ARTICLE,
'$content' => $x['content'] ?? '',
'$post_id' => $x['post_id'] ?? '',
'$baseurl' => $this->baseURL->get(true),