mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14780] Correct if sentence to let group setting overwrite global
PHPBB3-14780
This commit is contained in:
parent
1a187e0607
commit
b9761f116d
1 changed files with 1 additions and 1 deletions
|
@ -2162,7 +2162,7 @@ function phpbb_get_max_setting_from_group(\phpbb\db\driver\driver_interface $db,
|
||||||
$max_setting = (int) $row['max_setting'];
|
$max_setting = (int) $row['max_setting'];
|
||||||
$min_setting = (int) $row['min_setting'];
|
$min_setting = (int) $row['min_setting'];
|
||||||
|
|
||||||
return ($min_setting > 0) ? $max_setting : 0;
|
return ($min_setting > 0) ? $min_setting : $max_setting;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue