1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17333] Add tests and fixes

PHPBB-17333

Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
Matt Friedman
2024-06-04 11:10:44 -07:00
parent e162b67c48
commit 5c58fd2055
2 changed files with 128 additions and 1 deletions

View File

@@ -96,7 +96,7 @@ class webpush extends messenger_base implements extended_method_interface
*/
public function is_enabled_by_default()
{
return $this->config['webpush_method_enables'];
return (bool) $this->config['webpush_method_enables'];
}
/**