From b956565ca1904188ecccfa687f4fd1f83bec38f6 Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Fri, 8 Nov 2019 14:57:57 +1100 Subject: [PATCH] Only display active interviewers when creating an appointment --- admin/displayappointments.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/displayappointments.php b/admin/displayappointments.php index f4102007..6a951977 100644 --- a/admin/displayappointments.php +++ b/admin/displayappointments.php @@ -254,7 +254,8 @@ if ( (isset($_GET['appointment_id']) && isset($_GET['case_id'])) ||(isset($_GET[ $ops = $db->GetAll("SELECT o.operator_id as value, CONCAT(o.firstName, ' ', o.lastName) as description, CASE WHEN o.operator_id = '$require_operator_id' THEN 'selected=\'selected\'' ELSE '' END as selected - FROM operator as o"); + FROM operator as o + WHERE o.enabled = 1"); $selected = "selected=\'selected\'"; foreach($ops as $o) {