X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpost.php;h=76282d29a5390bf706d59957dc9e40769f7830cb;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=c0e783a6aaded3cb6ea126bfd177eb50cb76e4df;hpb=293436e5fd5110220c969513858dbb979f1f35d3;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];