]> git.mxchange.org Git - friendica.git/blobdiff - mod/modexp.php
More usage of dbm::is_result($r) instead of count($r):
[friendica.git] / mod / modexp.php
index bba2c2882d065e5fc2320f5ed8582718f5940b9a..d1dabb101b3834aec9d7ef9cbfe5f0d15e5e3920 100644 (file)
@@ -12,7 +12,7 @@ function modexp_init(&$a) {
                        dbesc($nick)
        );
 
-       if(! count($r))
+       if(! dbm::is_result($r))
                killme();
 
        $lines = explode("\n",$r[0]['spubkey']);