From 1b5054159cec4124da530141902f7143678ab7a3 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 10 Oct 2016 21:30:07 +0200 Subject: [PATCH] Cast bool because getenv always returns string --- classes/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Config.php b/classes/Config.php index 208e85b..674717b 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -100,7 +100,7 @@ class Config } } if (getenv('CONVERT')) { - $this->convert = getenv('CONVERT'); + $this->convert = (bool) getenv('CONVERT'); } }