From 1bea697fb8fbb6f5a90c24eddf04a0c7fc98d304 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 15 Jan 2018 12:28:07 -0500 Subject: [PATCH] Replace integers put integers back where booleans --- src/Model/Mail.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Model/Mail.php b/src/Model/Mail.php index d5105ac21c..f1021bb772 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -108,9 +108,9 @@ class Mail 'contact-id' => $recipient, 'title' => $subject, 'body' => $body, - 'seen' => true, + 'seen' => 1, 'reply' => $reply, - 'replied' => false, + 'replied' => 0, 'uri' => $uri, 'parent-uri' => $replyto, 'created' => datetime_convert() @@ -216,13 +216,13 @@ class Mail 'contact-id' => 0, 'title' => $subject, 'body' => $body, - 'seen' => false, - 'reply' => false, - 'replied' => false, + 'seen' => 0, + 'reply' => 0, + 'replied' => 0, 'uri' => $uri, 'parent-uri' => $replyto, 'created' => datetime_convert(), - 'unknown' => true + 'unknown' => 1 ] );