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,