We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f478f commit 3bb9ef8Copy full SHA for 3bb9ef8
install/dist/lib/gentoo.lib.php
@@ -81,7 +81,7 @@ public function configure_postfix($options = '')
81
}
82
83
//* These postconf commands will be executed on installation and update
84
- $server_ini_rec = $this->db->queryOneRecord("SELECT config FROM `" . $this->db->quote($conf["mysql"]["database"]) . "`.`server` WHERE server_id = ".$conf['server_id']);
+ $server_ini_rec = $this->db->queryOneRecord("SELECT config FROM ?.`server` WHERE server_id = ?", $conf["mysql"]["database"], $conf['server_id']);
85
$server_ini_array = ini_to_array(stripslashes($server_ini_rec['config']));
86
unset($server_ini_rec);
87
0 commit comments