]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
New item field "Post-type" and new table "permissionset" (#5408)
[friendica.git] / include / conversation.php
index 21b700f2fe0e42de4f0c9477ecd12b462454b8a1..54716cd6878613e0c94bb4a6e2505843a2639ccd 100644 (file)
@@ -1149,7 +1149,8 @@ function status_editor(App $a, $x, $notes_cid = 0, $popup = false)
                '$wait'         => L10n::t('Please wait'),
                '$permset'      => L10n::t('Permission settings'),
                '$shortpermset' => L10n::t('permissions'),
-               '$ptyp'         => $notes_cid ? 'note' : 'wall',
+               '$wall'         => $notes_cid ? 0 : 1,
+               '$posttype'     => $notes_cid ? Item::PT_PERSONAL_NOTE : Item::PT_ARTICLE,
                '$content'      => defaults($x, 'content', ''),
                '$post_id'      => defaults($x, 'post_id', ''),
                '$baseurl'      => System::baseUrl(true),