Skip to content

Commit b73c2ca

Browse files
committed
Update src/Util.php
1 parent db23663 commit b73c2ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Util.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public static function get($field, $source = null, $default = null, $possible_va
126126
*/
127127
public static function get_options($config, &$message = null) {
128128
if (!$config) return [];
129+
if (is_string($config)) $config = [$config];
129130

130131
$config[] = 'help::';
131132

0 commit comments

Comments
 (0)