recurse one more level of array when processing args
This commit is contained in:
parent
fdece3b102
commit
aefeda8c41
9
boot.php
9
boot.php
@ -1829,7 +1829,14 @@ function proc_run(){
|
|||||||
foreach($args as $arg) {
|
foreach($args as $arg) {
|
||||||
if(is_array($arg)) {
|
if(is_array($arg)) {
|
||||||
foreach($arg as $n) {
|
foreach($arg as $n) {
|
||||||
$newargs[] = $n;
|
if(is_array($n)) {
|
||||||
|
foreach($n as $w) {
|
||||||
|
$newargs[] = $w;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$newargs[] = $n;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user