From 060d4c9826dc6184135eb499bed6bb837ecea79b Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 20 May 2016 08:38:32 +0200 Subject: [PATCH] Corrected exception message. --- src/application/models/Appointments_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/models/Appointments_model.php b/src/application/models/Appointments_model.php index 08dd389b..a4636573 100644 --- a/src/application/models/Appointments_model.php +++ b/src/application/models/Appointments_model.php @@ -211,7 +211,7 @@ class Appointments_Model extends CI_Model { $num_rows = $this->db->get_where('ea_services', array('id' => $appointment['id_services']))->num_rows(); if ($num_rows == 0) { - throw new Exception('Appointment customer id is invalid.'); + throw new Exception('Appointment service id is invalid.'); } }