Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
30a569ba
Commit
30a569ba
authored
Mar 09, 2023
by
Michael Seevogel
Browse files
fixes displaying server_name in single server setups
parent
4590e73c
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/server_config_edit.php
View file @
30a569ba
...
...
@@ -125,7 +125,7 @@ class page_action extends tform_actions {
function
onShowEnd
()
{
global
$app
;
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT server_name FROM server WHERE server_id = ? AND ((SELECT COUNT(*) FROM server) > 1)"
,
$this
->
id
);
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT server_name FROM server WHERE server_id = ? AND ((SELECT COUNT(*) FROM server) >
=
1)"
,
$this
->
id
);
$app
->
tpl
->
setVar
(
'server_name'
,
$app
->
functions
->
htmlentities
(
$tmp
[
'server_name'
]));
unset
(
$tmp
);
...
...
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