From 18e89e1ba47e0cd530e588703d60384059efba98 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 28 Oct 2021 13:27:47 +0200 Subject: [PATCH] Minor formatting change --- application/models/Appointments_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/models/Appointments_model.php b/application/models/Appointments_model.php index 4c81b6ff..257a0afa 100644 --- a/application/models/Appointments_model.php +++ b/application/models/Appointments_model.php @@ -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) {