Skip to content

Commit

Permalink
Issue m1#17
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Feb 19, 2019
1 parent e64beb6 commit db8a113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Variables/VariableProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private function fetchVariable($variable_name, $type)
*/
private function checkVariableExists($variable, $type)
{
if (($type === 'env' && !getenv($variable)) ||
if (($type === 'env' && false === getenv($variable)) ||
($type === 'replacement' && !$this->rstore->arrayKeyExists($variable)) ||
($type === 'variable' && !$this->vstore->arrayKeyExists($variable))
) {
Expand Down

0 comments on commit db8a113

Please sign in to comment.