mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
convert approved value to the bool format
This commit is contained in:
parent
0e14d6b9a8
commit
959ccb28eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue