]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
Merge pull request #440 from fermionic/blank-screen-at-install-end
[friendica.git] / mod / dfrn_request.php
index 864fb375d9edc85dbec91399ce9bc9da09156237..cec2d7f8b01c1420f82a6b6b76090c897b305047 100644 (file)
@@ -170,9 +170,9 @@ function dfrn_request_post(&$a) {
                                        info( t("Introduction complete.") . EOL);
                                }
 
-                               $r = q("select id from contact where uid = %d and url = '%s' and `site-pubkey` = '%s limit 1",
+                               $r = q("select id from contact where uid = %d and url = '%s' and `site-pubkey` = '%s' limit 1",
                                        intval(local_user()),
-                                       $dbesc($dfrn_url),
+                                       dbesc($dfrn_url),
                                        $parms['key'] // this was already escaped
                                );
                                if(count($r)) {