mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#12034 fixed empty screen in public link
This commit is contained in:
parent
4786a9260c
commit
e99c7be6b8
@ -311,6 +311,15 @@ class Manager implements PublicLogin
|
|||||||
|
|
||||||
if ($this->dashboardId !== 0) {
|
if ($this->dashboardId !== 0) {
|
||||||
$this->dashboardFields = $this->get();
|
$this->dashboardFields = $this->get();
|
||||||
|
if (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);
|
$this->cells = Cell::getCells($this->dashboardId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user