From 08ffe6f809d4032d2311d4b49d97c421e1d56df7 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 30 Nov 2015 23:15:42 +0300 Subject: [PATCH] display operator lastname in selector too (as firstnames might be the same) --- admin/extensionstatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/extensionstatus.php b/admin/extensionstatus.php index baf4c0a5..4c9e32bf 100644 --- a/admin/extensionstatus.php +++ b/admin/extensionstatus.php @@ -250,7 +250,7 @@ else if (!empty($rs)) { - $sql = "SELECT o.operator_id as value, o.firstName as description + $sql = "SELECT o.operator_id as value, CONCAT(o.firstName,' ',o.lastname) as description FROM `operator` as o LEFT JOIN `extension` as e ON (e.current_operator_id = o.operator_id) WHERE e.extension_id IS NULL";