diff options
author | nobody <nobody@zotlabs.com> | 2021-02-24 11:38:38 -0800 |
---|---|---|
committer | nobody <nobody@zotlabs.com> | 2021-02-24 11:38:38 -0800 |
commit | beb418b093913bcc9499dac2722d53dfdab4879d (patch) | |
tree | 739ca3d948cb5574c479289f54cdceba707c7f58 /Zotlabs/Module/Editpost.php | |
parent | 0f89d2b8e06de56effc5e5f751c098a432e26e6a (diff) | |
parent | a033c439f3486c6ce31fb5d680c363ce0582d451 (diff) | |
download | volse-hubzilla-beb418b093913bcc9499dac2722d53dfdab4879d.tar.gz volse-hubzilla-beb418b093913bcc9499dac2722d53dfdab4879d.tar.bz2 volse-hubzilla-beb418b093913bcc9499dac2722d53dfdab4879d.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Module/Editpost.php')
-rw-r--r-- | Zotlabs/Module/Editpost.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Editpost.php b/Zotlabs/Module/Editpost.php index 49b2892e8..c6cfc6dc4 100644 --- a/Zotlabs/Module/Editpost.php +++ b/Zotlabs/Module/Editpost.php @@ -58,9 +58,9 @@ class Editpost extends \Zotlabs\Web\Controller { if ($catsenabled){ $itm = fetch_post_tags($itm); - + $cats = get_terms_oftype($itm[0]['term'], TERM_CATEGORY); - + foreach ($cats as $cat) { if (strlen($category)) $category .= ', '; @@ -95,6 +95,7 @@ class Editpost extends \Zotlabs\Web\Controller { 'defloc' => $channel['channel_location'], 'visitor' => true, 'title' => htmlspecialchars_decode($itm[0]['title'],ENT_COMPAT), + 'summary' => htmlspecialchars_decode($itm[0]['summary'],ENT_COMPAT), 'category' => $category, 'showacl' => false, 'profile_uid' => $owner_uid, |