Skip to content

Commit 450f3c1

Browse files
committed
fix multi select
1 parent 59b1823 commit 450f3c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/lib/system/discord/field/DiscordChannelMultiSelectFormField.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function options($options, $nestedOptions = false, $labelLanguageItems =
145145
}
146146

147147
foreach ($options as $option) {
148-
foreach (['id', 'type', 'name', 'parent_id', 'position'] as $entry) {
148+
foreach (['id', 'type', 'name', 'position'] as $entry) {
149149
if (!isset($option[$entry])) {
150150
throw new \InvalidArgumentException("Option has no {$entry} entry for field '{$this->getId()}'.");
151151
}

0 commit comments

Comments
 (0)