Replace integers

put integers back where booleans
This commit is contained in:
Adam Magness 2018-01-15 12:28:07 -05:00
parent 753996c86f
commit 1bea697fb8

View file

@ -108,9 +108,9 @@ class Mail
'contact-id' => $recipient, 'contact-id' => $recipient,
'title' => $subject, 'title' => $subject,
'body' => $body, 'body' => $body,
'seen' => true, 'seen' => 1,
'reply' => $reply, 'reply' => $reply,
'replied' => false, 'replied' => 0,
'uri' => $uri, 'uri' => $uri,
'parent-uri' => $replyto, 'parent-uri' => $replyto,
'created' => datetime_convert() 'created' => datetime_convert()
@ -216,13 +216,13 @@ class Mail
'contact-id' => 0, 'contact-id' => 0,
'title' => $subject, 'title' => $subject,
'body' => $body, 'body' => $body,
'seen' => false, 'seen' => 0,
'reply' => false, 'reply' => 0,
'replied' => false, 'replied' => 0,
'uri' => $uri, 'uri' => $uri,
'parent-uri' => $replyto, 'parent-uri' => $replyto,
'created' => datetime_convert(), 'created' => datetime_convert(),
'unknown' => true 'unknown' => 1
] ]
); );