aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-02 08:31:43 +0000
committerMario <mario@mariovavti.com>2021-06-02 08:32:41 +0000
commita0b788e96a0300540069e8e187f65362db8f6d67 (patch)
tree1ee3662017899c1f9f98342e15594312f908799b /Zotlabs
parentb63aa3079b624ab6bb526ec233aecb7c3f2d4061 (diff)
downloadvolse-hubzilla-a0b788e96a0300540069e8e187f65362db8f6d67.tar.gz
volse-hubzilla-a0b788e96a0300540069e8e187f65362db8f6d67.tar.bz2
volse-hubzilla-a0b788e96a0300540069e8e187f65362db8f6d67.zip
fix article summary duplicated when editing - issue #1577
(cherry picked from commit 50c14d353b30d0dcd7c761884d797dc0fe90f777)
Diffstat (limited to 'Zotlabs')
-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'),