From 9818dc99c6ff064860aa33e64e30e019687fe7cf Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 15 Aug 2019 01:54:50 -0600 Subject: [PATCH] Update database.php --- core/authentication/resources/classes/plugins/database.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/authentication/resources/classes/plugins/database.php b/core/authentication/resources/classes/plugins/database.php index 4ec7b74799..fc28dd096f 100644 --- a/core/authentication/resources/classes/plugins/database.php +++ b/core/authentication/resources/classes/plugins/database.php @@ -52,9 +52,7 @@ class plugin_database { //$sql .= "and domain_uuid = '".$this->domain_uuid."' "; } $sql .= "and (user_enabled = 'true' or user_enabled is null) "; - //echo $sql."
\n"; - //echo "domain name: ".$this->domain_name; - $prep_statement = $db->prepare(check_sql($sql)); + $prep_statement = $db->prepare($sql); if ($_SESSION["users"]["unique"]["text"] != "global") { $prep_statement->bindParam(':domain_uuid', $this->domain_uuid); }