Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
29ce9726
Commit
29ce9726
authored
Feb 04, 2016
by
Eric Bus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Index should be taken from $name parameter.
parent
4f5cbd05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
library/Solarium/QueryType/Select/Result/Stats/Result.php
library/Solarium/QueryType/Select/Result/Stats/Result.php
+1
-1
No files found.
library/Solarium/QueryType/Select/Result/Stats/Result.php
View file @
29ce9726
...
...
@@ -188,6 +188,6 @@ class Result
*/
protected
function
getValue
(
$name
)
{
return
isset
(
$this
->
stats
[
'min'
])
?
$this
->
stats
[
'min'
]
:
null
;
return
isset
(
$this
->
stats
[
$name
])
?
$this
->
stats
[
$name
]
:
null
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment