]> git.mxchange.org Git - friendica.git/commitdiff
Fixed:
authorRoland Häder <roland@mxchange.org>
Mon, 12 Sep 2022 21:31:36 +0000 (23:31 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 14 Oct 2022 22:44:07 +0000 (00:44 +0200)
- Content\Item versus Model\Item is really confusing!

src/Content/Conversation.php

index 0f0259aaac812e63e009913eb85843a8683263df..2e8439a0b9759b4333d4642d06f22016b45ce201 100644 (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),