Browse Source

convert approved value to the bool format

main
ghost 1 year ago
parent
commit
959ccb28eb
  1. 2
      src/crontab/export/feed.php

2
src/crontab/export/feed.php

@ -369,7 +369,7 @@ try
'userId' => $comment->userId, 'userId' => $comment->userId,
'magnetId' => $comment->magnetId, 'magnetId' => $comment->magnetId,
'timeAdded' => $comment->timeAdded, 'timeAdded' => $comment->timeAdded,
'approved' => $comment->approved, 'approved' => (bool) $comment->approved,
'value' => $comment->value 'value' => $comment->value
]; ];
} }

Loading…
Cancel
Save