X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=4cc9522479c182767b60a013ade77205863f0287;hb=9fb4ba2b733d59b8a704cb8df846c3b43769503d;hp=d1dabb101b3834aec9d7ef9cbfe5f0d15e5e3920;hpb=d4c3dcf2fccefcb2c79881be09fd3b1c73dc611a;p=friendica.git diff --git a/mod/modexp.php b/mod/modexp.php index d1dabb101b..4cc9522479 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -2,7 +2,7 @@ require_once('library/asn1.php'); -function modexp_init(&$a) { +function modexp_init(App $a) { if($a->argc != 2) killme(); @@ -12,8 +12,9 @@ function modexp_init(&$a) { dbesc($nick) ); - if(! dbm::is_result($r)) + if (! dbm::is_result($r)) { killme(); + } $lines = explode("\n",$r[0]['spubkey']); unset($lines[0]);