From aefeda8c416f8aed34a187a5ca2408598add864f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 20 May 2016 01:45:29 -0700 Subject: recurse one more level of array when processing args --- boot.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 5d2f1d744..3ab5905ff 100755 --- a/boot.php +++ b/boot.php @@ -1829,7 +1829,14 @@ function proc_run(){ foreach($args as $arg) { if(is_array($arg)) { foreach($arg as $n) { - $newargs[] = $n; + if(is_array($n)) { + foreach($n as $w) { + $newargs[] = $w; + } + } + else { + $newargs[] = $n; + } } } else -- cgit v1.2.3