0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

Fixed: php 5.4 array shortcut syntax errors on 5.3

This commit is contained in:
Aaron Howell 2017-07-05 18:26:31 +10:00
parent be3b7412ca
commit cf72bf1dcc
2 changed files with 2 additions and 2 deletions

View File

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

View File

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