X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=6fdc1884d2b13cb351d13131c01088ae7c21e59f;hb=050ad68b9fc21fc5cf06153d2c6d161d30b241c6;hp=bba2c2882d065e5fc2320f5ed8582718f5940b9a;hpb=743f2e0391315d6945b5c53a4d08938ee85e6aed;p=friendica.git diff --git a/mod/modexp.php b/mod/modexp.php index bba2c2882d..6fdc1884d2 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -1,8 +1,9 @@ argc != 2) killme(); @@ -12,8 +13,9 @@ function modexp_init(&$a) { dbesc($nick) ); - if(! count($r)) + if (! DBM::is_result($r)) { killme(); + } $lines = explode("\n",$r[0]['spubkey']); unset($lines[0]);