diff --git a/broadcast-message.php b/broadcast-message.php index 9101276b..888eb3ba 100644 --- a/broadcast-message.php +++ b/broadcast-message.php @@ -59,7 +59,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") $table_mailbox = table_by_key('mailbox'); $table_alias = table_by_key('alias'); - $recipients = []; + $recipients = array(); $q = "SELECT username from $table_mailbox WHERE active='" . db_get_boolean(true) . "' AND ".db_in_clause("domain", $wanted_domains); if (intval(safepost('mailboxes_only')) == 0) { diff --git a/setup.php b/setup.php index cfb7a5cd..13755b05 100644 --- a/setup.php +++ b/setup.php @@ -58,7 +58,7 @@ $file_local_config = file_exists (realpath ("./config.local.php")); $error = 0; -$errormsg = []; +$errormsg = array(); // // Check for PHP version