Corrected exception message.

This commit is contained in:
Alex Tselegidis 2016-05-20 08:38:32 +02:00
parent 6432998dad
commit 060d4c9826
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class Appointments_Model extends CI_Model {
$num_rows = $this->db->get_where('ea_services', $num_rows = $this->db->get_where('ea_services',
array('id' => $appointment['id_services']))->num_rows(); array('id' => $appointment['id_services']))->num_rows();
if ($num_rows == 0) { if ($num_rows == 0) {
throw new Exception('Appointment customer id is invalid.'); throw new Exception('Appointment service id is invalid.');
} }
} }