aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-12-23 10:35:10 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-12-23 10:35:10 +0100
commit1f3e07389471cf5094f396725409e71e32370424 (patch)
tree0c36a91710f69fdd952f7dd346c401c6f2279d0a /phpBB
parent67a8d8ca907c72b517be823393029c093a3fe887 (diff)
parentdbc164e13188a8adf4478c1b4b3ce563e16486c3 (diff)
downloadforums-1f3e07389471cf5094f396725409e71e32370424.tar
forums-1f3e07389471cf5094f396725409e71e32370424.tar.gz
forums-1f3e07389471cf5094f396725409e71e32370424.tar.bz2
forums-1f3e07389471cf5094f396725409e71e32370424.tar.xz
forums-1f3e07389471cf5094f396725409e71e32370424.zip
Merge pull request #5779 from 3D-I/ticket/16260
[ticket/16260] Missing check whether the index exists in ACP - PHP 7.4
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_board.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 2441a37edc..cd72a8748a 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -530,13 +530,16 @@ class acp_board
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
- // 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);
if ($config_name == 'allow_quick_reply' && isset($_POST['allow_quick_reply_enable']))