mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Merge pull request #3758 from s9e/ticket/14008
[ticket/14008] Do not add a user_id value to quotes from guests
This commit is contained in:
@@ -70,6 +70,12 @@ class utils implements \phpbb\textformatter\utils_interface
|
||||
$quote .= '=' . $this->format_attribute_value($attributes['author']);
|
||||
unset($attributes['author']);
|
||||
}
|
||||
|
||||
if (isset($attributes['user_id']) && $attributes['user_id'] == ANONYMOUS)
|
||||
{
|
||||
unset($attributes['user_id']);
|
||||
}
|
||||
|
||||
ksort($attributes);
|
||||
foreach ($attributes as $name => $value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user