Cast bool because getenv always returns string
This commit is contained in:
parent
a4eb9ba2fe
commit
1b5054159c
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class Config
|
|||
}
|
||||
}
|
||||
if (getenv('CONVERT')) {
|
||||
$this->convert = getenv('CONVERT');
|
||||
$this->convert = (bool) getenv('CONVERT');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue