X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=3c5d1e35818bfc11658e20cf289d18324bd25d6d;hb=74d813042fa96dd90955cc5c0da8cf4716485cb8;hp=bba2c2882d065e5fc2320f5ed8582718f5940b9a;hpb=aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b;p=friendica.git diff --git a/mod/modexp.php b/mod/modexp.php index bba2c2882d..3c5d1e3581 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -1,8 +1,10 @@ argc != 2) killme(); @@ -12,8 +14,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]);