Skip to content

Commit af56139

Browse files
committed
Strict comparison fix
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 220d3aa commit af56139

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

acp/wpn_acp_module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function save_settings()
117117
];
118118

119119
// Do not validate and update private key field if the content is ******** and the key was already set
120-
if ($config_array['wpn_webpush_vapid_private'] == '********' && $this->config['wpn_webpush_vapid_private'])
120+
if ($config_array['wpn_webpush_vapid_private'] === '********' && $this->config['wpn_webpush_vapid_private'])
121121
{
122122
unset($display_settings['wpn_webpush_vapid_private'], $config_array['wpn_webpush_vapid_private']);
123123
}

0 commit comments

Comments
 (0)