#12034 fixed page not access when dashboard is deleted

This commit is contained in:
Daniel Cebrian 2024-01-30 14:58:04 +01:00
parent b28c97b9b7
commit 2531de8cb0
1 changed files with 1 additions and 1 deletions

View File

@ -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'