Commit 14c62f18 authored by drugan's avatar drugan Committed by lussoluca

Issue #2898075 by drugan: Notice: Undefined property:...

Issue #2898075 by drugan: Notice: Undefined property: Drupal\webprofiler\Views\TraceableViewExecutable::$execute_time
parent ef5c69ef
......@@ -31,7 +31,7 @@ class TraceableViewExecutable extends ViewExecutable {
* @return float
*/
public function getExecuteTime() {
return $this->execute_time;
return property_exists($this, 'execute_time') ? $this->execute_time : 0.0;
}
/**
......
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