Skip to content

Commit 1706412

Browse files
committed
Fix double message
1 parent 3241cf7 commit 1706412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/notification.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public function formatContent($content, $sender_info)
318318

319319
switch ($this->type) {
320320
case self::NOTIFICATION_TYPE_DIRECT_MESSAGE:
321-
$new_message_text = $content;
321+
$new_message_text = '';
322322
$link_to_new_message = Display::url(
323323
get_lang('SeeMessage'),
324324
api_get_path(WEB_CODE_PATH) . 'messages/inbox.php'

0 commit comments

Comments
 (0)