]> git.mxchange.org Git - friendica.git/blobdiff - mod/post.php
get_basepath() uses a lot $this (which means object-referenced calls, or
[friendica.git] / mod / post.php
index c0e783a6aaded3cb6ea126bfd177eb50cb76e4df..76282d29a5390bf706d59957dc9e40769f7830cb 100644 (file)
@@ -23,7 +23,7 @@ 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];