]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
Ensure *toArray returns an array
[friendica.git] / mod / dfrn_request.php
index 780e0afeeb7feb146129ca660887d50a415a96b5..19879c21bb334ddc35d94b98505cee1bd2e6f3c6 100644 (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 "";
        }