From: Mikael Nordfeldth Date: Wed, 27 Jan 2016 22:04:19 +0000 (+0100) Subject: Haha, forgot that the $content content must also be there! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d73c264e25272bd7d7d6ef574d9e99608a722ad2;p=quix0rs-gnu-social.git Haha, forgot that the $content content must also be there! --- diff --git a/actions/newnotice.php b/actions/newnotice.php index 16ca3bb999..298361d600 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -104,7 +104,7 @@ class NewnoticeAction extends FormAction // throws exception on failure $upload = MediaFile::fromUpload('attach', $this->scoped); if (Event::handle('StartSaveNewNoticeAppendAttachment', array($this, $upload, &$content, &$options))) { - $content = ($content==='' ? '' : ' ') . $upload->shortUrl(); + $content .= ($content==='' ? '' : ' ') . $upload->shortUrl(); } Event::handle('EndSaveNewNoticeAppendAttachment', array($this, $upload, &$content, &$options));