]> git.mxchange.org Git - friendica.git/commitdiff
Replace integers
authorAdam Magness <adam.magness@gmail.com>
Mon, 15 Jan 2018 17:28:07 +0000 (12:28 -0500)
committerAdam Magness <adam.magness@gmail.com>
Mon, 15 Jan 2018 17:28:07 +0000 (12:28 -0500)
put integers back where booleans

src/Model/Mail.php

index d5105ac21ce118a05bdb752dcf14b686020172f1..f1021bb7722b95cc99aa6a930e206339c4038dda 100644 (file)
@@ -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
                        ]
                );