Commit 60c54cfa authored by tbrehm's avatar tbrehm

Fixed: PHP Fatal error: Cannot use string offset as an array in...

Fixed: PHP Fatal error:  Cannot use string offset as an array in /tmp/trunk/install/lib/installer_base.lib.php on line 638
parent 723662f1
......@@ -635,7 +635,7 @@ class installer_base {
//* If there are RBL's defined, format the list and add them to smtp_recipient_restrictions to prevent removeal after an update
$rbl_list = '';
if ($server_ini_array['mail']['realtime_blackhole_list'] != '') {
if (isset($server_ini_array['mail']['realtime_blackhole_list']) && $server_ini_array['mail']['realtime_blackhole_list'] != '') {
$rbl_hosts = explode(",",str_replace(" ", "", $server_ini_array['mail']['realtime_blackhole_list']));
foreach ($rbl_hosts as $key => $value) {
$rbl_list .= ", reject_rbl_client ". $value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment