mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
e87635a209
1 changed files with 7 additions and 4 deletions
|
@ -530,13 +530,16 @@ class acp_board
|
||||||
|
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
if (strpos($data['type'], 'password') === 0 && $config_value === '********')
|
if (isset($data['type']) && strpos($data['type'], 'password') === 0 && $config_value === '********')
|
||||||
{
|
{
|
||||||
// Do not update password fields if the content is ********,
|
/**
|
||||||
// because that is the password replacement we use to not
|
* Do not update password fields if the content is ********,
|
||||||
// send the password to the output
|
* because that is the password replacement we use to not
|
||||||
|
* send the password to the output
|
||||||
|
*/
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$config->set($config_name, $config_value);
|
$config->set($config_name, $config_value);
|
||||||
|
|
||||||
if ($config_name == 'allow_quick_reply' && isset($_POST['allow_quick_reply_enable']))
|
if ($config_name == 'allow_quick_reply' && isset($_POST['allow_quick_reply_enable']))
|
||||||
|
|
Loading…
Add table
Reference in a new issue