#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) {
|
||||
$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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue