fixed styles
This commit is contained in:
parent
95834b2de7
commit
56e4770b93
|
@ -474,7 +474,7 @@ class Manager implements PublicLogin
|
|||
"SELECT *
|
||||
FROM tdashboard
|
||||
WHERE id = %d
|
||||
AND (id_group IN (%s) AND id_user = '') OR id_user = '%s'",
|
||||
AND ((id_group IN (%s) AND id_user = '') OR id_user = '%s')",
|
||||
$this->dashboardId,
|
||||
$this->stringGroups,
|
||||
$config['id_user']
|
||||
|
@ -1047,6 +1047,7 @@ class Manager implements PublicLogin
|
|||
'hash' => self::generatePublicHash(),
|
||||
'publicLink' => $this->publicLink,
|
||||
'dashboardGroup' => $this->dashboardFields['id_group'],
|
||||
'dashboardUser' => $this->dashboardFields['id_user'],
|
||||
]
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -260,7 +260,7 @@ if (isset($config['public_dashboard']) === true
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (check_acl_restricted_all($config['id_user'], $dashboardGroup, 'RW') === 0) {
|
||||
if ($dashboardUser !== $config['id_user'] && check_acl_restricted_all($config['id_user'], $dashboardGroup, 'RW') === 0) {
|
||||
$buttons = [
|
||||
'back_to_dashboard_list' => $back_to_dashboard_list,
|
||||
'fullscreen' => $fullscreen,
|
||||
|
|
Loading…
Reference in New Issue