Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Guilherme Filippo
ISPConfig 3
Commits
9e64a7dd
Commit
9e64a7dd
authored
Mar 04, 2009
by
tbrehm
Browse files
Fixed a bug in cpu info in the monitor module.
parent
b398c43e
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
9e64a7dd
...
...
@@ -320,7 +320,7 @@ class monitor_core_module {
$key
=
trim
(
$part
[
0
]);
$value
=
trim
(
$part
[
1
]);
if
(
$key
==
'processor'
)
$processor
=
intval
(
$value
);
$data
[
$key
.
' '
.
$processor
]
=
$value
;
if
(
$key
!=
''
)
$data
[
$key
.
' '
.
$processor
]
=
$value
;
}
/* the cpu has no state. It is, what it is */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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