Skip to content

Commit

Permalink
MDL-3971 - mod_forum: contain () in span
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski authored and Sam Hemelryk committed Jun 19, 2012
1 parent 820e356 commit 420b76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/post.php
Expand Up @@ -519,7 +519,7 @@
if ($post->messageformat == FORMAT_HTML) { if ($post->messageformat == FORMAT_HTML) {
$data->name = '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$USER->id.'&course='.$post->course.'">'. $data->name = '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$USER->id.'&course='.$post->course.'">'.
fullname($USER).'</a>'; fullname($USER).'</a>';
$post->message .= '<p>(<span class="edited">'.get_string('editedby', 'forum', $data).'</span>)</p>'; $post->message .= '<p><span class="edited">('.get_string('editedby', 'forum', $data).')</span></p>';
} else { } else {
$data->name = fullname($USER); $data->name = fullname($USER);
$post->message .= "\n\n(".get_string('editedby', 'forum', $data).')'; $post->message .= "\n\n(".get_string('editedby', 'forum', $data).')';
Expand Down

0 comments on commit 420b76d

Please sign in to comment.