Commit e772b0d5 authored by Steven Jones's avatar Steven Jones Committed by Steven Jones

Issue #2718437 by Steven Jones: Options is always isset on a context

parent 89937f80
......@@ -85,7 +85,7 @@ class Provision_Context {
* Check the properties array if the property does not exist in the class proper.
*/
function __isset($name) {
return isset($this->properties[$name]) || property_exists($this, $name);
return $name === 'options' || isset($this->properties[$name]) || property_exists($this, $name);
}
/**
......
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