Fix backticks
backtick to single quote in dba calls
This commit is contained in:
parent
ebd071d181
commit
753996c86f
1 changed files with 25 additions and 25 deletions
|
@ -105,15 +105,15 @@ class Mail
|
||||||
'from-name' => $me[0]['name'],
|
'from-name' => $me[0]['name'],
|
||||||
'from-photo' => $me[0]['thumb'],
|
'from-photo' => $me[0]['thumb'],
|
||||||
'from-url' => $me[0]['url'],
|
'from-url' => $me[0]['url'],
|
||||||
`contact-id` => $recipient,
|
'contact-id' => $recipient,
|
||||||
`title` => $subject,
|
'title' => $subject,
|
||||||
`body` => $body,
|
'body' => $body,
|
||||||
`seen` => true,
|
'seen' => true,
|
||||||
`reply` => $reply,
|
'reply' => $reply,
|
||||||
`replied` => false,
|
'replied' => false,
|
||||||
`uri` => $uri,
|
'uri' => $uri,
|
||||||
`parent-uri` => $replyto,
|
'parent-uri' => $replyto,
|
||||||
`created` => datetime_convert()
|
'created' => datetime_convert()
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -207,22 +207,22 @@ class Mail
|
||||||
dba::insert(
|
dba::insert(
|
||||||
'mail',
|
'mail',
|
||||||
[
|
[
|
||||||
`uid` => $recipient['uid'],
|
'uid' => $recipient['uid'],
|
||||||
`guid` => $guid,
|
'guid' => $guid,
|
||||||
`convid` => $convid,
|
'convid' => $convid,
|
||||||
`from-name` => $me['name'],
|
'from-name' => $me['name'],
|
||||||
`from-photo` => $me['photo'],
|
'from-photo' => $me['photo'],
|
||||||
`from-url` => $me['url'],
|
'from-url' => $me['url'],
|
||||||
`contact-id` => 0,
|
'contact-id' => 0,
|
||||||
`title` => $subject,
|
'title' => $subject,
|
||||||
`body` => $body,
|
'body' => $body,
|
||||||
`seen` => false,
|
'seen' => false,
|
||||||
`reply` => false,
|
'reply' => false,
|
||||||
`replied` => false,
|
'replied' => false,
|
||||||
`uri` => $uri,
|
'uri' => $uri,
|
||||||
`parent-uri` => $replyto,
|
'parent-uri' => $replyto,
|
||||||
`created` => datetime_convert(),
|
'created' => datetime_convert(),
|
||||||
`unknown` => true
|
'unknown' => true
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue