From: Adam Magness Date: Mon, 15 Jan 2018 17:23:18 +0000 (-0500) Subject: Fix backticks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=753996c86f0ddc3aa54c3fbd52a66626d89933aa;p=friendica.git Fix backticks backtick to single quote in dba calls --- diff --git a/src/Model/Mail.php b/src/Model/Mail.php index d789d69de0..d5105ac21c 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -105,15 +105,15 @@ class Mail 'from-name' => $me[0]['name'], 'from-photo' => $me[0]['thumb'], 'from-url' => $me[0]['url'], - `contact-id` => $recipient, - `title` => $subject, - `body` => $body, - `seen` => true, - `reply` => $reply, - `replied` => false, - `uri` => $uri, - `parent-uri` => $replyto, - `created` => datetime_convert() + 'contact-id' => $recipient, + 'title' => $subject, + 'body' => $body, + 'seen' => true, + 'reply' => $reply, + 'replied' => false, + 'uri' => $uri, + 'parent-uri' => $replyto, + 'created' => datetime_convert() ] ); @@ -207,22 +207,22 @@ class Mail dba::insert( 'mail', [ - `uid` => $recipient['uid'], - `guid` => $guid, - `convid` => $convid, - `from-name` => $me['name'], - `from-photo` => $me['photo'], - `from-url` => $me['url'], - `contact-id` => 0, - `title` => $subject, - `body` => $body, - `seen` => false, - `reply` => false, - `replied` => false, - `uri` => $uri, - `parent-uri` => $replyto, - `created` => datetime_convert(), - `unknown` => true + 'uid' => $recipient['uid'], + 'guid' => $guid, + 'convid' => $convid, + 'from-name' => $me['name'], + 'from-photo' => $me['photo'], + 'from-url' => $me['url'], + 'contact-id' => 0, + 'title' => $subject, + 'body' => $body, + 'seen' => false, + 'reply' => false, + 'replied' => false, + 'uri' => $uri, + 'parent-uri' => $replyto, + 'created' => datetime_convert(), + 'unknown' => true ] );