aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-02 08:31:43 +0000
committerMario <mario@mariovavti.com>2021-06-02 08:31:43 +0000
commit50c14d353b30d0dcd7c761884d797dc0fe90f777 (patch)
tree9eac5ef776383813dd561eb0edb06a9fdb323396
parent25be24e6b834a8236d0d8973347058d42d0f117d (diff)
downloadvolse-hubzilla-50c14d353b30d0dcd7c761884d797dc0fe90f777.tar.gz
volse-hubzilla-50c14d353b30d0dcd7c761884d797dc0fe90f777.tar.bz2
volse-hubzilla-50c14d353b30d0dcd7c761884d797dc0fe90f777.zip
fix article summary duplicated when editing - issue #1577
-rw-r--r--Zotlabs/Module/Article_edit.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Article_edit.php b/Zotlabs/Module/Article_edit.php
index efa02e1c1..97c87f2ba 100644
--- a/Zotlabs/Module/Article_edit.php
+++ b/Zotlabs/Module/Article_edit.php
@@ -85,7 +85,6 @@ class Article_edit extends \Zotlabs\Web\Controller {
$mimetype = $itm[0]['mimetype'];
- $summary = (($itm[0]['summary']) ? '[summary]' . $itm[0]['summary'] . '[/summary]' . "\r\n" : '');
$content = $itm[0]['body'];
$rp = 'articles/' . $channel['channel_address'];
@@ -109,7 +108,7 @@ class Article_edit extends \Zotlabs\Web\Controller {
'ptyp' => $itm[0]['type'],
'mimeselect' => false,
'mimetype' => $itm[0]['mimetype'],
- 'body' => $summary . undo_post_tagging($content),
+ 'body' => undo_post_tagging($content),
'post_id' => $post_id,
'visitor' => true,
'title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),