Skip to content

Commit 4ed035e

Browse files
author
Marius Cramer
committed
fixed: FS#3493 - RBL entries in main.cf get lost on update
1 parent c9d4ef4 commit 4ed035e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ public function configure_postfix($options = '') {
690690
if(!is_user($cf['vmail_username'])) caselog("$command &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
691691

692692
//* These postconf commands will be executed on installation and update
693-
$server_ini_rec = $this->db->queryOneRecord("SELECT config FROM server WHERE server_id = ".$conf['server_id']);
693+
$server_ini_rec = $this->db->queryOneRecord("SELECT config FROM `" . $this->db->quote($conf["mysql"]["database"]) . "`.`server` WHERE server_id = ".$conf['server_id']);
694694
$server_ini_array = ini_to_array(stripslashes($server_ini_rec['config']));
695695
unset($server_ini_rec);
696696

0 commit comments

Comments
 (0)