X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fpost.php;h=76282d29a5390bf706d59957dc9e40769f7830cb;hb=c43e9aa74ee1f68249ea2dd77f0553201fcb1239;hp=c0e783a6aaded3cb6ea126bfd177eb50cb76e4df;hpb=8ec424325375aa923c7d2d78ac8ddcc352f09cff;p=friendica.git diff --git a/mod/post.php b/mod/post.php index c0e783a6aa..76282d29a5 100644 --- a/mod/post.php +++ b/mod/post.php @@ -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];