Skip to content

Commit 60c54cf

Browse files
committed
Fixed: PHP Fatal error: Cannot use string offset as an array in /tmp/trunk/install/lib/installer_base.lib.php on line 638
1 parent 723662f commit 60c54cf

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
@@ -635,7 +635,7 @@ public function configure_postfix($options = '') {
635635

636636
//* If there are RBL's defined, format the list and add them to smtp_recipient_restrictions to prevent removeal after an update
637637
$rbl_list = '';
638-
if ($server_ini_array['mail']['realtime_blackhole_list'] != '') {
638+
if (isset($server_ini_array['mail']['realtime_blackhole_list']) && $server_ini_array['mail']['realtime_blackhole_list'] != '') {
639639
$rbl_hosts = explode(",",str_replace(" ", "", $server_ini_array['mail']['realtime_blackhole_list']));
640640
foreach ($rbl_hosts as $key => $value) {
641641
$rbl_list .= ", reject_rbl_client ". $value;

0 commit comments

Comments
 (0)