Skip to content

Commit

Permalink
Update Configure.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusDl committed Jan 31, 2015
1 parent afb15f8 commit 8bf4c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Configure.php
Expand Up @@ -134,7 +134,7 @@ public static function check($var)
if (empty($var)) {
return false;
}
return Hash::get(static::$_values, $var) !== null;
return static::read($var) !== null;
}

/**
Expand Down Expand Up @@ -176,7 +176,7 @@ public static function consume($var)
return $value;
}
$value = Hash::get(static::$_values, $var);
static::$_values = Hash::remove(static::$_values, $var);
static::delete($var);
return $value;
}

Expand Down

0 comments on commit 8bf4c4f

Please sign in to comment.