We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6dcfc7 commit a6b22fbCopy full SHA for a6b22fb
1 file changed
notification/method/webpush.php
@@ -98,7 +98,8 @@ public function get_type(): string
98
public function is_available(type_interface $notification_type = null): bool
99
{
100
return $this->config['wpn_webpush_enable']
101
- && !empty($this->config['wpn_webpush_vapid_public']) && !empty($this->config['wpn_webpush_vapid_private']);
+ && $this->config['wpn_webpush_vapid_public']
102
+ && $this->config['wpn_webpush_vapid_private'];
103
}
104
105
/**
0 commit comments