From cc106ff958ca50b3be3e08640d9e5093a48c10a7 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Wed, 18 Jun 2025 09:37:40 -0700 Subject: [PATCH] fix: register 'ResourcePermissionType' in Smarty Register 'ResourcePermissionType' to the RegisterClasses() method in the Smarty integration to ensure proper template access and initialization. This resolves Deprecated warning issued. --- lib/Common/SmartyPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Common/SmartyPage.php b/lib/Common/SmartyPage.php index d4ca7ac49..5fac7a72a 100644 --- a/lib/Common/SmartyPage.php +++ b/lib/Common/SmartyPage.php @@ -164,8 +164,9 @@ protected function RegisterClasses() 'ReservationEvent', 'ReservationReminderInterval', 'ReservationStatus', - 'Resources', + 'ResourcePermissionType', 'ResourceStatus', + 'Resources', 'Schedule', 'ScheduleLayout', 'ScheduleStyle',