sforkowany z mirror/friendica
Merge pull request #7203 from MrPetovan/bug/warnings
Fix condition in dfrn_request_content() when $a->profile isn't set2022.09-rc
commit
59bbb1ac99
|
@ -476,7 +476,7 @@ function dfrn_request_post(App $a)
|
||||||
|
|
||||||
function dfrn_request_content(App $a)
|
function dfrn_request_content(App $a)
|
||||||
{
|
{
|
||||||
if (($a->argc != 2) || (!count($a->profile))) {
|
if ($a->argc != 2 || empty($a->profile)) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue