mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 15:37:57 +00:00
convert approved value to the bool format
This commit is contained in:
parent
0e14d6b9a8
commit
959ccb28eb
@ -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…
Reference in New Issue
Block a user