Fixed: php 5.4 array shortcut syntax errors on 5.3

pull/55/head
Aaron Howell 9 years ago
parent be3b7412ca
commit cf72bf1dcc

@ -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) {

@ -58,7 +58,7 @@ $file_local_config = file_exists (realpath ("./config.local.php"));
$error = 0;
$errormsg = [];
$errormsg = array();
//
// Check for PHP version

Loading…
Cancel
Save