From b8022166ba72d3e71421c7f9a587be244036d3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D?= Date: Sat, 27 Apr 2019 00:34:13 +0200 Subject: [PATCH] * [FIX] Wrong behavior when disabling remote syslog * [MOD] Increase account's name length up to 100 characters long. Related #1071 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rubén D --- app/modules/web/Controllers/ConfigGeneralController.php | 2 +- .../web/themes/material-blue/views/account/account.inc | 2 +- lib/SP/Services/Install/Installer.php | 6 +++--- lib/SP/Services/Upgrade/UpgradeDatabaseService.php | 7 ++----- schemas/{30119012201.sql => 31019012201.sql} | 0 schemas/31019042701.sql | 4 ++++ schemas/dbstructure.sql | 2 +- 7 files changed, 12 insertions(+), 11 deletions(-) rename schemas/{30119012201.sql => 31019012201.sql} (100%) create mode 100644 schemas/31019042701.sql diff --git a/app/modules/web/Controllers/ConfigGeneralController.php b/app/modules/web/Controllers/ConfigGeneralController.php index 3de6c4b3..080a3d66 100644 --- a/app/modules/web/Controllers/ConfigGeneralController.php +++ b/app/modules/web/Controllers/ConfigGeneralController.php @@ -109,7 +109,7 @@ final class ConfigGeneralController extends SimpleControllerBase if ($configData->isSyslogRemoteEnabled() === false) { $eventMessage->addDescription(__u('Remote syslog enabled')); } - } elseif ($remoteSyslogEnabled === false && $configData->isSyslogEnabled()) { + } elseif ($remoteSyslogEnabled === false && $configData->isSyslogRemoteEnabled()) { $configData->setSyslogRemoteEnabled(false); $eventMessage->addDescription(__u('Remote syslog disabled')); diff --git a/app/modules/web/themes/material-blue/views/account/account.inc b/app/modules/web/themes/material-blue/views/account/account.inc index 00c5d906..d7576dc8 100644 --- a/app/modules/web/themes/material-blue/views/account/account.inc +++ b/app/modules/web/themes/material-blue/views/account/account.inc @@ -75,7 +75,7 @@ $showCustomFields = count($_getvar('customFields', 0)) > 0; >