mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-12 02:25:18 +02:00
[ticket/14780] Correct if sentence to let group setting overwrite global
PHPBB3-14780
This commit is contained in:
parent
1a187e0607
commit
b9761f116d
@ -2162,7 +2162,7 @@ function phpbb_get_max_setting_from_group(\phpbb\db\driver\driver_interface $db,
|
||||
$max_setting = (int) $row['max_setting'];
|
||||
$min_setting = (int) $row['min_setting'];
|
||||
|
||||
return ($min_setting > 0) ? $max_setting : 0;
|
||||
return ($min_setting > 0) ? $min_setting : $max_setting;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user