X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpubsubhubbub.php;h=11fbf2cf5f3af52f7bc4919fbbb68e7776bc6178;hb=0cdf0ba422076f731a5801708879d5344439494a;hp=c9cb54d2e055a2de70cedeef577935685af8d5ba;hpb=51f0d521006b1eb6a89c231d8835575c80b38697;p=friendica.git diff --git a/mod/pubsubhubbub.php b/mod/pubsubhubbub.php index c9cb54d2e0..11fbf2cf5f 100644 --- a/mod/pubsubhubbub.php +++ b/mod/pubsubhubbub.php @@ -10,7 +10,7 @@ use Friendica\Util\Network; use Friendica\Util\Strings; function post_var($name) { - return (x($_POST, $name)) ? Strings::escapeTags(trim($_POST[$name])) : ''; + return !empty($_POST[$name]) ? Strings::escapeTags(trim($_POST[$name])) : ''; } function pubsubhubbub_init(App $a) {