mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
Fix Security Groups Subpanel Insight
This commit is contained in:
parent
2bee83c82c
commit
0f238f9ef7
1 changed files with 1 additions and 4 deletions
|
@ -25,11 +25,8 @@ class SubpanelDefault extends SubpanelDataQueryHandler implements StatisticsProv
|
|||
*/
|
||||
public function getData(array $query): Statistic
|
||||
{
|
||||
$subpanel = $query['key'];
|
||||
|
||||
if ($subpanel === 'default' && isset($query['params']['subpanel'])) {
|
||||
$subpanel = $query['params']['subpanel'];
|
||||
}
|
||||
$subpanel = $query['params']['subpanel'] ?? $query['key'];
|
||||
|
||||
[$module, $id] = $this->extractContext($query);
|
||||
if (empty($module) || empty($id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue