From e385b3116f12076212511207d1cacbe3bbefb2ff Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 5 Jul 2020 19:47:18 -0600 Subject: [PATCH] Add cast user_enabled as text --- core/users/users.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/users/users.php b/core/users/users.php index a44b0a2dc7..23eddf274c 100644 --- a/core/users/users.php +++ b/core/users/users.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008 - 2019 + Portions created by the Initial Developer are Copyright (C) 2008 - 2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -129,7 +129,8 @@ $offset = $rows_per_page * $page; //get the list - $sql = "select * from view_users "; + $sql = "select domain_name, user_uuid, username, groups, contact_organization,contact_name, cast(user_enabled as text) "; + $sql .= "from view_users "; if ($_GET['show'] == "all" && permission_exists('user_all')) { if (isset($sql_search)) { $sql .= "where ".$sql_search; @@ -303,4 +304,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>