We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5992b8 commit b52bf63Copy full SHA for b52bf63
src/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php
@@ -209,7 +209,7 @@ public function __construct()
209
/* we need both if and gr reference */
210
$iftargets['if'][(string)$node->ifname] = (string)$node->ifname;
211
$iftargets['gr'][(string)$node->ifname] = (string)$node->ifname;
212
- foreach (explode(' ', (string)$node->members) as $member) {
+ foreach (preg_split('/[ |,]+/', (string)$node->members) as $member) {
213
if (!array_key_exists($member, $ifgroups)) {
214
$ifgroups[$member] = [];
215
}
0 commit comments