aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Article_edit.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-06-03 11:00:39 +0200
committerMario Vavti <mario@mariovavti.com>2021-06-03 11:00:39 +0200
commite5c8273f7284fe065e88b8d7ddac2ea55964f3f0 (patch)
tree0809eba89f4ed7248d9af04c8e84ef1b1412fb72 /Zotlabs/Module/Article_edit.php
parent440f7bacd62cd277e8d9d4341675e8c5f5e7485a (diff)
parent33463152e844f98b933401c394cc0e111893a077 (diff)
downloadvolse-hubzilla-e5c8273f7284fe065e88b8d7ddac2ea55964f3f0.tar.gz
volse-hubzilla-e5c8273f7284fe065e88b8d7ddac2ea55964f3f0.tar.bz2
volse-hubzilla-e5c8273f7284fe065e88b8d7ddac2ea55964f3f0.zip
Merge branch 'six' of https://framagit.org/hubzilla/core into six
Diffstat (limited to 'Zotlabs/Module/Article_edit.php')
-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'),