Minor formatting change

This commit is contained in:
Alex Tselegidis 2021-10-28 13:27:47 +02:00
parent 110e5ec17d
commit 18e89e1ba4

View file

@ -117,7 +117,8 @@ class Appointments_model extends EA_Model {
->join('roles', 'roles.id = users.id_roles', 'inner')
->where('users.id', $appointment['id_users_customer'])
->where('roles.slug', DB_SLUG_CUSTOMER)
->get()->num_rows();
->get()
->num_rows();
if ( ! $count)
{