Commit 84d58b00 authored by anarcat's avatar anarcat Committed by Adrian Rossouw

set the owner before parsing otherwise the getter is broken

parent 702afdd5
......@@ -65,13 +65,12 @@ class provisionConfig {
throw(exception);
}
// Accept both a reference and an alias name for the owner.
$this->owner = is_object($owner) ? $owner : d($owner);
$this->data = $this->parse();
if (sizeof($data)) {
$this->data = array_merge($this->data, $data);
}
// Accept both a reference and an alias name for the owner.
$this->owner = is_object($owner) ? $owner : d($owner);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment