diff --git a/application/forms/Config/LoggingForm.php b/application/forms/Config/LoggingForm.php index 5a06994c2..dc90a24d8 100644 --- a/application/forms/Config/LoggingForm.php +++ b/application/forms/Config/LoggingForm.php @@ -156,7 +156,10 @@ class LoggingForm extends Form 'label' => 'Debug Log Path', 'required' => $this->shouldDisplayDebugLog($debug), 'condition' => $this->shouldDisplayDebugLog($debug), - 'value' => $debug->get('target', $this->getBaseDir() . '/var/log/icinga2.debug.log'), + 'value' => $debug->get( + 'target', + $this->getBaseDir() . '/var/log/icinga2.debug.log' + ), 'helptext' => 'Set the path to the debug log' ) ); diff --git a/test/php/application/forms/Preference/GeneralFormTest.php b/test/php/application/forms/Preference/GeneralFormTest.php index 51ccd13b4..effcdb4f8 100644 --- a/test/php/application/forms/Preference/GeneralFormTest.php +++ b/test/php/application/forms/Preference/GeneralFormTest.php @@ -46,6 +46,7 @@ require_once BaseTestCase::$libDir . '/Util/DateTimeFactory.php'; // @codingStandardsIgnoreEnd use \DateTimeZone; +use \Zend_Config; use \Icinga\User\Preferences; use \Zend_View_Helper_DateFormat; use \Icinga\Util\DateTimeFactory;