]> git.mxchange.org Git - friendica.git/blobdiff - mod/wallmessage.php
Issue 5733: Changing relationship values does work now again with DFRN
[friendica.git] / mod / wallmessage.php
index 6a78aefb3186297cda8b34b146364b4ecf3960b3..5606b6feede6a6ed35c26f5512ae5cf7cb403303 100644 (file)
@@ -26,10 +26,10 @@ function wallmessage_post(App $a) {
        }
 
        $r = q("select * from user where nickname = '%s' limit 1",
-               dbesc($recipient)
+               DBA::escape($recipient)
        );
 
-       if (! DBA::is_result($r)) {
+       if (! DBA::isResult($r)) {
                logger('wallmessage: no recipient');
                return;
        }
@@ -88,10 +88,10 @@ function wallmessage_content(App $a) {
        }
 
        $r = q("select * from user where nickname = '%s' limit 1",
-               dbesc($recipient)
+               DBA::escape($recipient)
        );
 
-       if (! DBA::is_result($r)) {
+       if (! DBA::isResult($r)) {
                notice(L10n::t('No recipient.') . EOL);
                logger('wallmessage: no recipient');
                return;