X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=3c5d1e35818bfc11658e20cf289d18324bd25d6d;hb=c22920edba4f80fee2d828a9fe265a9cb702e81c;hp=715ffe30c85f0c6d6da304aca511450329421b5f;hpb=013d2604f886bc7cbd2c5263d3577e8cf40f9fcc;p=friendica.git diff --git a/mod/modexp.php b/mod/modexp.php index 715ffe30c8..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]);