From aa476d7ae2cd6e45a773fd17ff25da06713ad253 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 30 Jan 2024 19:29:13 -0500 Subject: [PATCH] Minor: cast to bool value from migration --- src/CoreBundle/Migrations/Schema/V200/Version20230904173400.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CoreBundle/Migrations/Schema/V200/Version20230904173400.php b/src/CoreBundle/Migrations/Schema/V200/Version20230904173400.php index bae853aba8..6180fc53d9 100644 --- a/src/CoreBundle/Migrations/Schema/V200/Version20230904173400.php +++ b/src/CoreBundle/Migrations/Schema/V200/Version20230904173400.php @@ -72,7 +72,7 @@ class Version20230904173400 extends AbstractMigrationChamilo $em->persist($calendarEvent); if ($collectiveInvitationsEnabled) { - $calendarEvent->setCollective($personalAgenda['collective']); + $calendarEvent->setCollective((bool) $personalAgenda['collective']); $hasSubscriptions = false; $invitationsOrSubscriptionsInfo = [];