]> git.mxchange.org Git - friendica.git/blobdiff - mod/modexp.php
all endpoints are now working
[friendica.git] / mod / modexp.php
index 83b823a45b5516717be48b0a0880bfabf9217a37..966c111d569370e84631f0ca392e042585a888de 100644 (file)
@@ -10,10 +10,10 @@ function modexp_init(App $a) {
 
        $nick = $a->argv[1];
        $r = q("SELECT `spubkey` FROM `user` WHERE `nickname` = '%s' LIMIT 1",
-                       dbesc($nick)
+                       DBA::escape($nick)
        );
 
-       if (! DBA::is_result($r)) {
+       if (! DBA::isResult($r)) {
                killme();
        }