diff options
author | Simon Rettberg | 2022-06-03 09:33:52 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-03 09:33:52 +0200 |
commit | d6645ceb409cda648467c26df3d6bb2150da911b (patch) | |
tree | 595a1e233a768a4c5753ce003fc5e9c4ed911411 /modules-available/statistics/pages | |
parent | install.php: Quote table and column names (diff) | |
download | slx-admin-d6645ceb409cda648467c26df3d6bb2150da911b.tar.gz slx-admin-d6645ceb409cda648467c26df3d6bb2150da911b.tar.xz slx-admin-d6645ceb409cda648467c26df3d6bb2150da911b.zip |
[statistics] Use hostname/ip as page title in client details
Diffstat (limited to 'modules-available/statistics/pages')
-rw-r--r-- | modules-available/statistics/pages/machine.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/statistics/pages/machine.inc.php b/modules-available/statistics/pages/machine.inc.php index 0bf6f8fb..5bf5ec97 100644 --- a/modules-available/statistics/pages/machine.inc.php +++ b/modules-available/statistics/pages/machine.inc.php @@ -61,6 +61,7 @@ class SubPage Message::addError('unknown-machine', $uuid); return; } + Render::setTitle(empty($client['hostname']) ? $client['clientip'] : $client['hostname']); $locations = []; if ($client['locationid'] > 0 && Module::isAvailable('locations')) { if (!Location::isLeaf($client['locationid'])) { |