From 208df71788cb208716b59925b81f3f781213868a Mon Sep 17 00:00:00 2001 From: marcchevaldonne Date: Wed, 19 Apr 2023 00:42:45 +0200 Subject: [PATCH] mon test --- application/controllers/Appointments.php | 2 ++ engine/Notifications/Email.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index ff6c6b4f..634bd201 100644 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -424,6 +424,8 @@ class Appointments extends EA_Controller { */ public function ajax_register_appointment() { + throw new Exception('mon test'); + try { $post_data = $this->input->post('post_data'); diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index a44fcacd..2458af48 100644 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -82,7 +82,7 @@ class Email { * * @throws \PHPMailer\PHPMailer\Exception */ - public function send_appointment_details( + public function ( array $appointment, array $provider, array $service,