Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
memcache
Commits
b49c96c9
Commit
b49c96c9
authored
Sep 07, 2018
by
KarlShea
Committed by
bdragon
Sep 07, 2018
Browse files
Issue
#2997537
by KarlShea: Undefined method error on Statistics page
parent
de03e20c
Changes
1
Hide whitespace changes
Inline
Side-by-side
memcache_admin/src/Controller/MemcacheStatisticsController.php
View file @
b49c96c9
...
...
@@ -70,10 +70,10 @@ class MemcacheStatisticsController extends ControllerBase {
$stats
=
$stats
[
$bin
];
$aggregate
=
array_pop
(
$stats
);
if
(
$memcache
->
m
emcache
()
instanceof
\
Memcached
)
{
if
(
$memcache
->
getM
emcache
()
instanceof
\
Memcached
)
{
$version
=
t
(
'Memcached v@version'
,
[
'@version'
=>
phpversion
(
'Memcached'
)]);
}
elseif
(
$memcache
->
m
emcache
()
instanceof
\
Memcache
)
{
elseif
(
$memcache
->
getM
emcache
()
instanceof
\
Memcache
)
{
$version
=
t
(
'Memcache v@version'
,
[
'@version'
=>
phpversion
(
'Memcache'
)]);
}
else
{
...
...
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