diff options
author | Mario <mario@mariovavti.com> | 2021-02-19 10:24:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-19 10:24:20 +0000 |
commit | dc553ab30932390b6dcbbe7fd05e54e7e8dd40fe (patch) | |
tree | 93a0404c5c9b9873071be8b6962cbcf2b1d13351 /Zotlabs/Module/Article_edit.php | |
parent | a2d170385b3c02ad284535ec337acda237e2e353 (diff) | |
download | volse-hubzilla-dc553ab30932390b6dcbbe7fd05e54e7e8dd40fe.tar.gz volse-hubzilla-dc553ab30932390b6dcbbe7fd05e54e7e8dd40fe.tar.bz2 volse-hubzilla-dc553ab30932390b6dcbbe7fd05e54e7e8dd40fe.zip |
summary edit actions
Diffstat (limited to 'Zotlabs/Module/Article_edit.php')
-rw-r--r-- | Zotlabs/Module/Article_edit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Article_edit.php b/Zotlabs/Module/Article_edit.php index 635b3ce2a..efa02e1c1 100644 --- a/Zotlabs/Module/Article_edit.php +++ b/Zotlabs/Module/Article_edit.php @@ -63,9 +63,9 @@ class Article_edit 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 .= ', '; @@ -113,6 +113,7 @@ class Article_edit extends \Zotlabs\Web\Controller { 'post_id' => $post_id, 'visitor' => true, 'title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), + 'summary' => htmlspecialchars($itm[0]['summary'],ENT_COMPAT,'UTF-8'), 'placeholdertitle' => t('Title (optional)'), 'pagetitle' => $card_title, 'profile_uid' => (intval($channel['channel_id'])), |