Fix condition in dfrn_request_content() when $a->profile isn't set

See https://github.com/friendica/friendica/issues/6917#issuecomment-494087890
This commit is contained in:
Hypolite Petovan 2019-05-28 21:14:21 -04:00
parent e557457158
commit 8f4dbec696

View File

@ -476,7 +476,7 @@ function dfrn_request_post(App $a)
function dfrn_request_content(App $a)
{
if (($a->argc != 2) || (!count($a->profile))) {
if ($a->argc != 2 || empty($a->profile)) {
return "";
}