* Modify table name escape.

This commit is contained in:
caoyanyi
2023-04-20 17:22:13 +08:00
parent c49f559d09
commit 59e5ce1d2f
2 changed files with 114 additions and 112 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ class router extends baseRouter
{
$sql = new sql();
$account = $sql->quote($account);
$userSetting = $this->dbh->query('SELECT `key`, `value` FROM ' . TABLE_CONFIG . "WHERE `owner`= $account AND `module`='common' and `key` in ('programLink', 'productLink', 'projectLink', 'executionLink', 'URSR')")->fetchAll();
$userSetting = $this->dbh->query('SELECT `key`, `value` FROM ' . TABLE_CONFIG . " WHERE `owner`= $account AND `module`='common' and `key` in ('programLink', 'productLink', 'projectLink', 'executionLink', 'URSR')")->fetchAll();
}
foreach($userSetting as $setting)