]> git.mxchange.org Git - friendica.git/blobdiff - mod/wallmessage.php
Rename dbesc to DBA::escape
[friendica.git] / mod / wallmessage.php
index 5ab01e30782e4a503d372643772c8e9fab69dcde..5606b6feede6a6ed35c26f5512ae5cf7cb403303 100644 (file)
@@ -26,7 +26,7 @@ function wallmessage_post(App $a) {
        }
 
        $r = q("select * from user where nickname = '%s' limit 1",
-               dbesc($recipient)
+               DBA::escape($recipient)
        );
 
        if (! DBA::isResult($r)) {
@@ -88,7 +88,7 @@ function wallmessage_content(App $a) {
        }
 
        $r = q("select * from user where nickname = '%s' limit 1",
-               dbesc($recipient)
+               DBA::escape($recipient)
        );
 
        if (! DBA::isResult($r)) {