X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FGServer.php;h=758ff0f13538da8020e524da74d6a3b02d45f2d5;hb=f2c1ecd19bb344137a91faab58d9a2524e0c8893;hp=11d3227e8ad06ecbfb77521373d2c120e6ac45af;hpb=f61fd93db02bc2d66e1473ca34dc1154e77217a3;p=friendica.git diff --git a/src/Model/GServer.php b/src/Model/GServer.php index 11d3227e8a..758ff0f135 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -869,7 +869,7 @@ class GServer } // Sanitize incoming data, see https://github.com/friendica/friendica/issues/8565 - $data['subscribe'] = (bool)$data['subscribe'] ?? false; + $data['subscribe'] = (bool)($data['subscribe'] ?? false); if (!$data['subscribe'] || empty($data['scope']) || !in_array(strtolower($data['scope']), ['all', 'tags'])) { $data['scope'] = '';