From 753996c86f0ddc3aa54c3fbd52a66626d89933aa Mon Sep 17 00:00:00 2001
From: Adam Magness <adam.magness@gmail.com>
Date: Mon, 15 Jan 2018 12:23:18 -0500
Subject: [PATCH] Fix backticks

backtick to single quote in dba calls
---
 src/Model/Mail.php | 50 +++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/src/Model/Mail.php b/src/Model/Mail.php
index d789d69de..d5105ac21 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
 			]
 		);