From da98768cd0cabf7bbb5a30c77b0566b5fbd22c84 Mon Sep 17 00:00:00 2001 From: alext Date: Wed, 4 Dec 2019 09:48:57 +0100 Subject: [PATCH] Unset the provider settings property for the book success page (#664). --- src/application/controllers/Appointments.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index 8ba95fdc..0059c01f 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -309,6 +309,9 @@ class Appointments extends CI_Controller { $company_name = $this->settings_model->get_setting('company_name'); //get the exceptions $exceptions = $this->session->flashdata('book_success'); + + unset($provider['settings']); + // :: LOAD THE BOOK SUCCESS VIEW $view = [ 'appointment_data' => $appointment,