From: Adam Magness Date: Mon, 15 Jan 2018 17:28:07 +0000 (-0500) Subject: Replace integers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1bea697fb8fbb6f5a90c24eddf04a0c7fc98d304;p=friendica.git Replace integers put integers back where booleans --- 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 ] );