Commit 21abcfde authored by webchick's avatar webchick

Issue #2903843 by joseph.olstad, joelpittet: views get_option() micro optimization

parent 3abc583d
......@@ -772,7 +772,7 @@ public function getOption($option) {
return $this->default_display->getOption($option);
}
if (array_key_exists($option, $this->options)) {
if (isset($this->options[$option]) || array_key_exists($option, $this->options)) {
return $this->options[$option];
}
}
......
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