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.'); } }