From 959ccb28eb5d7b65f8d105026b24512eeac4d492 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 14 Sep 2023 17:39:40 +0300 Subject: [PATCH] convert approved value to the bool format --- src/crontab/export/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crontab/export/feed.php b/src/crontab/export/feed.php index ca8d65c..52556fa 100644 --- a/src/crontab/export/feed.php +++ b/src/crontab/export/feed.php @@ -369,7 +369,7 @@ try 'userId' => $comment->userId, 'magnetId' => $comment->magnetId, 'timeAdded' => $comment->timeAdded, - 'approved' => $comment->approved, + 'approved' => (bool) $comment->approved, 'value' => $comment->value ]; }