mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 09:48:53 +00:00
[ticket/11768] Whitespace [ci skip]
PHPBB3-11768
This commit is contained in:
parent
8411db6257
commit
a611366bd3
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class renderer implements \phpbb\textformatter\renderer_interface
|
|||
*/
|
||||
public function configure_user(\phpbb\user $user, \phpbb\config\config $config, \phpbb\auth\auth $auth)
|
||||
{
|
||||
$censor = $user->optionget('viewcensors') || !$config['allow_nocensors'] || !$auth->acl_get('u_chgcensors');
|
||||
$censor = $user->optionget('viewcensors') || !$config['allow_nocensors'] || !$auth->acl_get('u_chgcensors');
|
||||
|
||||
$this->set_viewcensors($censor);
|
||||
$this->set_viewflash($user->optionget('viewflash'));
|
||||
|
|
Loading…
Add table
Reference in a new issue