1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[ticket/9531] BBCode-less quotes fallback-option is missing "Author wrote:" line when quoting from topic-review.

PHPBB3-9531
This commit is contained in:
Joas Schilling
2010-04-11 01:30:56 +02:00
committed by Nils Adermann
parent 03d50a2e83
commit fe9c5019b6
6 changed files with 7 additions and 6 deletions

View File

@@ -194,7 +194,7 @@ function attach_inline(index, filename)
/**
* Add quote text to message
*/
function addquote(post_id, username)
function addquote(post_id, username, l_wrote)
{
var message_name = 'message_' + post_id;
var theSelection = '';
@@ -256,6 +256,7 @@ function addquote(post_id, username)
}
else
{
insert_text(username + ' ' + l_wrote + ':' + '\n');
var lines = split_lines(theSelection);
for (i = 0; i < lines.length; i++)
{