From 97a36df7300689e0651aa32f88c8686c281ac538 Mon Sep 17 00:00:00 2001 From: Jordan Bauer <31709951+jordan-bauer@users.noreply.github.com> Date: Mon, 30 Mar 2020 14:59:41 -0500 Subject: [PATCH] Update getDBTableQuoted The ticks were causing malformed queries and not allowing access to Sip admin module links --- openbiz/bin/BizSystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbiz/bin/BizSystem.php b/openbiz/bin/BizSystem.php index 5ae96115..ff5236f9 100644 --- a/openbiz/bin/BizSystem.php +++ b/openbiz/bin/BizSystem.php @@ -443,7 +443,7 @@ public static function getDBTableQuoted($identifier, $dbName=null) $dbInfo = BizSystem::instance()->getConfiguration()->getDatabaseInfo($rDBName); if(strtoupper($dbInfo["Driver"])=="PDO_MYSQL") { $value = trim(trim($identifier), "`"); - return "`".$value."`"; + return $value; } return $identifier; }