mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16260] Missing check whether the index exists in ACP - PHP 7.4
PHPBB3-16260
This commit is contained in:
parent
16a163662b
commit
dbc164e131
1 changed files with 7 additions and 10 deletions
|
@ -530,9 +530,7 @@ class acp_board
|
||||||
|
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
if (isset($data['type']))
|
if (isset($data['type']) && strpos($data['type'], 'password') === 0 && $config_value === '********')
|
||||||
{
|
|
||||||
if (strpos($data['type'], 'password') === 0 && $config_value === '********')
|
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Do not update password fields if the content is ********,
|
* Do not update password fields if the content is ********,
|
||||||
|
@ -541,7 +539,6 @@ class acp_board
|
||||||
*/
|
*/
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$config->set($config_name, $config_value);
|
$config->set($config_name, $config_value);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue