From 023ecce72f96a9ff3e99a00ce66fe0fa5a2c69ff Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 26 May 2023 12:34:35 +0200 Subject: [PATCH] enable imaginary by default Signed-off-by: Simon L --- php/src/Data/ConfigurationManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index 205ac7d7..e22ccd56 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -157,10 +157,10 @@ class ConfigurationManager public function isImaginaryEnabled() : bool { $config = $this->GetConfig(); - if (isset($config['isImaginaryEnabled']) && $config['isImaginaryEnabled'] === 1) { - return true; - } else { + if (isset($config['isImaginaryEnabled']) && $config['isImaginaryEnabled'] === 0) { return false; + } else { + return true; } }