mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
#12034 fixed page not access when dashboard is deleted
This commit is contained in:
parent
b28c97b9b7
commit
2531de8cb0
@ -311,7 +311,7 @@ class Manager implements PublicLogin
|
||||
|
||||
if ($this->dashboardId !== 0) {
|
||||
$this->dashboardFields = $this->get();
|
||||
if (is_array($this->dashboardFields) === true && count($this->dashboardFields) === 0) {
|
||||
if ($this->deleteDashboard === false && is_array($this->dashboardFields) === true && count($this->dashboardFields) === 0) {
|
||||
db_pandora_audit(
|
||||
AUDIT_LOG_HACK_ATTEMPT,
|
||||
'Trying to access to dashboard that not exist'
|
||||
|
Loading…
x
Reference in New Issue
Block a user