X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpubsubhubbub.php;h=11fbf2cf5f3af52f7bc4919fbbb68e7776bc6178;hb=64887387906e9774ef1810c0029353086bcda43b;hp=c9cb54d2e055a2de70cedeef577935685af8d5ba;hpb=b7ed5454c97866a2dc9bdb1b2075b905df4630f9;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) {