1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14008] Do not add a user_id value to quotes from guests

PHPBB3-14008
This commit is contained in:
JoshyPHP
2015-07-13 16:08:57 +02:00
parent 8df16ed92c
commit 675cf5e897
2 changed files with 15 additions and 0 deletions

View File

@@ -175,6 +175,15 @@ class phpbb_textformatter_s9e_utils_test extends phpbb_test_case
),
'[quote=user post_id=123 url=http://example.org]...[/quote]',
),
array(
'...',
array(
'author' => 'user',
'post_id' => 123,
'user_id' => ANONYMOUS
),
'[quote=user post_id=123]...[/quote]',
),
array(
'...',
array('author' => ' '),