X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=4cc9522479c182767b60a013ade77205863f0287;hb=f94a10bf00de699a5f3d22ea74665053a5661175;hp=715ffe30c85f0c6d6da304aca511450329421b5f;hpb=013d2604f886bc7cbd2c5263d3577e8cf40f9fcc;p=friendica.git diff --git a/mod/modexp.php b/mod/modexp.php index 715ffe30c8..4cc9522479 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -1,8 +1,8 @@ argc != 2) killme(); @@ -12,8 +12,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]);