X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmodexp.php;h=bba2c2882d065e5fc2320f5ed8582718f5940b9a;hb=7f2070ca91aca9e92f3ac4c5b714742c6f9ecc3b;hp=d424b4c39d75f90652fdfb3be4837306ff113066;hpb=9c10ada9060c9745f49652469e172be8152f6cad;p=friendica.git diff --git a/mod/modexp.php b/mod/modexp.php index d424b4c39d..bba2c2882d 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -1,6 +1,6 @@ argv[1]; - $r = q("SELECT `pubkey` FROM `user` WHERE `nickname` = '%s' LIMIT 1", + $r = q("SELECT `spubkey` FROM `user` WHERE `nickname` = '%s' LIMIT 1", dbesc($nick) ); if(! count($r)) killme(); - $lines = explode("\n",$r[0]['pubkey']); + $lines = explode("\n",$r[0]['spubkey']); unset($lines[0]); unset($lines[count($lines)]); $x = base64_decode(implode('',$lines)); @@ -30,4 +30,5 @@ function modexp_init(&$a) { killme(); -} \ No newline at end of file +} +