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
1 changed files with 1 additions and 1 deletions

View File

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