Skip to content

Commit

Permalink
Fix The key 'xxx' does not exist.
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Aug 24, 2023
1 parent b41ba20 commit d24c8b9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@ class Dictionary {
* @return The requested value.
*/
public function get($key, $default = NULL) {
$this->assertExists($key);
$this->assertValidKey($key);
$node = $this->data;
$parts = explode(".", $key);
foreach ($parts as $partk => $partv) {
Expand Down

0 comments on commit d24c8b9

Please sign in to comment.