diff --git a/includes/class-hvac-bulk-event-manager.php b/includes/class-hvac-bulk-event-manager.php index f3bf5f18..1b13c3fd 100644 --- a/includes/class-hvac-bulk-event-manager.php +++ b/includes/class-hvac-bulk-event-manager.php @@ -175,7 +175,7 @@ class HVAC_Bulk_Event_Manager { public function create_bulk_events_from_template(int $template_id, array $variations, int $user_id): array { try { // Validate template access - $template = $this->template_manager->get_template($template_id, $user_id); + $template = $this->template_manager->get_template($template_id); if (!$template || !isset($template['template_data'])) { return $this->error_response(__('Template not found or access denied', 'hvac-community-events')); } @@ -238,7 +238,7 @@ class HVAC_Bulk_Event_Manager { public function apply_template_to_events(int $template_id, array $event_ids, int $user_id, array $options = []): array { try { // Validate template access - $template = $this->template_manager->get_template($template_id, $user_id); + $template = $this->template_manager->get_template($template_id); if (!$template) { return $this->error_response(__('Template not found or access denied', 'hvac-community-events')); }