From a049a1ffac4c5d23eee6e305405e3523f36334a7 Mon Sep 17 00:00:00 2001 From: heavygale Date: Sun, 6 Oct 2019 18:59:54 +0200 Subject: [PATCH] Undo automatic whitespace cleanup 2 --- data/web/inc/init_db.inc.php | 4 ++-- data/web/lang/lang.en.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/web/inc/init_db.inc.php b/data/web/inc/init_db.inc.php index 0b19912e..fbc8f7b3 100644 --- a/data/web/inc/init_db.inc.php +++ b/data/web/inc/init_db.inc.php @@ -933,7 +933,7 @@ function init_db_schema() { } if (strtolower($key_type) == 'unique') { foreach ($key_content as $key_name => $key_values) { - $fields = "`" . implode("`, `", $key_values) . "`"; + $fields = "`" . implode("`, `", $key_values) . "`"; $stmt = $pdo->query("SHOW KEYS FROM `" . $table . "` WHERE Key_name = '" . $key_name . "'"); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); $is_drop = ($num_results != 0) ? "DROP INDEX `" . $key_name . "`, " : ""; @@ -942,7 +942,7 @@ function init_db_schema() { } if (strtolower($key_type) == 'fkey') { foreach ($key_content as $key_name => $key_values) { - $fields = "`" . implode("`, `", $key_values) . "`"; + $fields = "`" . implode("`, `", $key_values) . "`"; $stmt = $pdo->query("SHOW KEYS FROM `" . $table . "` WHERE Key_name = '" . $key_name . "'"); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); if ($num_results != 0) { diff --git a/data/web/lang/lang.en.php b/data/web/lang/lang.en.php index b6854de0..8375c953 100644 --- a/data/web/lang/lang.en.php +++ b/data/web/lang/lang.en.php @@ -936,4 +936,4 @@ $lang['admin']['transport_dest_format'] = 'Syntax: example.org, .example.org, *, $lang['mailbox']['alias_domain_backupmx'] = 'Alias domain inactive for relay domain'; $lang['danger']['extra_acl_invalid'] = 'External sender address "%s" is invalid'; -$lang['danger']['extra_acl_invalid_domain'] = 'External sender "%s" uses an invalid domain'; \ No newline at end of file +$lang['danger']['extra_acl_invalid_domain'] = 'External sender "%s" uses an invalid domain';