aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
author3D-I <480857+3D-I@users.noreply.github.com>2019-12-21 23:54:32 +0100
committer3D-I <480857+3D-I@users.noreply.github.com>2019-12-21 23:55:00 +0100
commitffb0adfc59934dd6012394855f494872276b61b9 (patch)
tree5b94dfe66101778feff3fb402bf37d9d322894c5 /phpBB
parenta83b8e779238b734575dd4a96a67ed1aabc704c1 (diff)
downloadforums-ffb0adfc59934dd6012394855f494872276b61b9.tar
forums-ffb0adfc59934dd6012394855f494872276b61b9.tar.gz
forums-ffb0adfc59934dd6012394855f494872276b61b9.tar.bz2
forums-ffb0adfc59934dd6012394855f494872276b61b9.tar.xz
forums-ffb0adfc59934dd6012394855f494872276b61b9.zip
[ticket/16260] Missing check whether the index exists in ACP - PHP 7.4
PHPBB3-16260
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_board.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 2441a37edc..b0cefbd064 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -530,11 +530,13 @@ class acp_board
if ($submit)
{
- if (strpos($data['type'], 'password') === 0 && $config_value === '********')
+ if (strpos(isset($data['type']) ? $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
- // send the password to the output
+ /**
+ * Do not update password fields if the content is ********,
+ * because that is the password replacement we use to not
+ * send the password to the output
+ */
continue;
}
$config->set($config_name, $config_value);