Commit 29ce9726 authored by Eric Bus's avatar Eric Bus

Index should be taken from $name parameter.

parent 4f5cbd05
...@@ -188,6 +188,6 @@ class Result ...@@ -188,6 +188,6 @@ class Result
*/ */
protected function getValue($name) protected function getValue($name)
{ {
return isset($this->stats['min']) ? $this->stats['min'] : null; return isset($this->stats[$name]) ? $this->stats[$name] : null;
} }
} }
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