Cast bool because getenv always returns string

This commit is contained in:
Pierre Rudloff 2016-10-10 21:30:07 +02:00
parent a4eb9ba2fe
commit 1b5054159c

View file

@ -100,7 +100,7 @@ class Config
} }
} }
if (getenv('CONVERT')) { if (getenv('CONVERT')) {
$this->convert = getenv('CONVERT'); $this->convert = (bool) getenv('CONVERT');
} }
} }