]> git.mxchange.org Git - friendica.git/blobdiff - mod/post.php
added spaces + curly braces
[friendica.git] / mod / post.php
index c0e783a6aaded3cb6ea126bfd177eb50cb76e4df..a8d345ecb6c7af48e85454db79314259eb5e66e9 100644 (file)
@@ -23,8 +23,9 @@ function post_post(&$a) {
                                AND `account_expired` = 0 AND `account_removed` = 0 LIMIT 1",
                        dbesc($nickname)
                );
-               if(! count($r))
+               if (! dbm::is_result($r)) {
                        http_status_exit(500);
+               }
 
                $importer = $r[0];
        }