Merge branch 'ent-12034-enlace-publico-de-dashboard-que-ha-sido-borrado-no-muestra-nada' into 'develop'
Ent 12034 Enlace público de dashboard que ha sido borrado no muestra nada See merge request artica/pandorafms!6828
This commit is contained in:
commit
66eda7368d
|
@ -311,6 +311,15 @@ class Manager implements PublicLogin
|
|||
|
||||
if ($this->dashboardId !== 0) {
|
||||
$this->dashboardFields = $this->get();
|
||||
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'
|
||||
);
|
||||
include 'general/noaccess.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
$this->cells = Cell::getCells($this->dashboardId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue