]> git.mxchange.org Git - friendica.git/commitdiff
Fix backticks
authorAdam Magness <adam.magness@gmail.com>
Mon, 15 Jan 2018 17:23:18 +0000 (12:23 -0500)
committerAdam Magness <adam.magness@gmail.com>
Mon, 15 Jan 2018 17:23:18 +0000 (12:23 -0500)
backtick to single quote in dba calls

src/Model/Mail.php

index d789d69de03749d5d9dc697dd73dd90143a2b0a7..d5105ac21ce118a05bdb752dcf14b686020172f1 100644 (file)
@@ -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
                        ]
                );