There was an error while loading. Please reload this page.
1 parent 3942a22 commit fe1e12fCopy full SHA for fe1e12f
1 file changed
ProcessMaker/Models/Setting.php
@@ -381,8 +381,12 @@ public static function getFavicon()
381
*/
382
public static function groupsByMenu($menuId)
383
{
384
- $query = Setting::query()->select('group')->groupBy('group')
385
- ->where('group_id', $menuId)->pluck('group');
+ $query = Setting::query()
+ ->select('group')
386
+ ->groupBy('group')
387
+ ->where('group_id', $menuId)
388
+ ->notHidden()
389
+ ->pluck('group');
390
$response = $query->toArray();
391
$result = [];
392
foreach ($response as &$value) {
0 commit comments