Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
21dba7b6
Commit
21dba7b6
authored
Aug 10, 2009
by
tbrehm
Browse files
Fixed: FS#825 - Logged out when viewing the sys datalog
parent
0bdf6b8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/monitor/datalog_list.php
View file @
21dba7b6
...
...
@@ -49,8 +49,8 @@ $app->uses('listform_actions');
$servers
=
$app
->
db
->
queryAllRecords
(
"SELECT server_id, updated FROM server"
);
$sql
=
'('
;
foreach
(
$servers
as
$s
)
{
$sql
.
=
" (datalog_id > "
.
$s
[
'updated'
]
.
" AND server_id = "
.
$s
[
'server_id'
]
.
") OR "
;
foreach
(
$servers
as
$s
v
)
{
$sql
.
=
" (datalog_id > "
.
$s
v
[
'updated'
]
.
" AND server_id = "
.
$s
v
[
'server_id'
]
.
") OR "
;
}
$sql
=
substr
(
$sql
,
0
,
-
4
);
$sql
.
=
')'
;
...
...
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