X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=6fdc1884d2b13cb351d13131c01088ae7c21e59f;hb=cfb00d811df2a5b41c096e16aab45d2d4ee1dabd;hp=bba2c2882d065e5fc2320f5ed8582718f5940b9a;hpb=b202e02fbf09859c06ed21cc3b6bec1530ccf1f1;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]);