Skip to content

Commit eda8c21

Browse files
committed
Merge pull request #1 from noplanman/feature/smartinterface
Allow backwards compatibility when managing only one channel.
2 parents c51f8d5 + 672f622 commit eda8c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/AdminCommands/SendtochannelCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function execute()
6161
$state = $session['state'];
6262
}
6363

64-
$channels = $this->getConfig('your_channel');
64+
$channels = (array) $this->getConfig('your_channel');
6565

6666
switch ($state) {
6767
default:

0 commit comments

Comments
 (0)