fix: correct HVAC_Event_Form_Builder constructor call with required parameters

Fixes fatal error: 'Too few arguments to function HVAC_Event_Form_Builder::__construct()'
- Added required nonce_action parameter: 'hvac_bulk_event_form'
- Added template_mode parameter: true for bulk operations

Critical deployment blocker resolved.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ben 2025-09-24 20:14:29 -03:00
parent b3a487a53f
commit bb908a24f3

View file

@ -38,7 +38,7 @@ class HVAC_Bulk_Event_Manager {
$this->wpdb = $wpdb; $this->wpdb = $wpdb;
$this->operations_table = $wpdb->prefix . 'hvac_bulk_operations'; $this->operations_table = $wpdb->prefix . 'hvac_bulk_operations';
$this->template_manager = HVAC_Event_Template_Manager::instance(); $this->template_manager = HVAC_Event_Template_Manager::instance();
$this->form_builder = new HVAC_Event_Form_Builder(); $this->form_builder = new HVAC_Event_Form_Builder('hvac_bulk_event_form', true);
$this->init_hooks(); $this->init_hooks();
} }