]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Mail.php
Merge pull request #5626 from annando/notices-oh-yeah
[friendica.git] / src / Model / Mail.php
index 514350e75e1e0d75987820eb1f26dca48b592bcf..37ebd123aa46082abf5fc297ea95950c20870e2f 100644 (file)
@@ -58,10 +58,10 @@ class Mail
                        $reply = true;
                        $r = q("SELECT `convid` FROM `mail` WHERE `uid` = %d AND (`uri` = '%s' OR `parent-uri` = '%s') LIMIT 1",
                                intval(local_user()),
-                               dbesc($replyto),
-                               dbesc($replyto)
+                               DBA::escape($replyto),
+                               DBA::escape($replyto)
                        );
-                       if (DBA::is_result($r)) {
+                       if (DBA::isResult($r)) {
                                $convid = $r[0]['convid'];
                        }
                }