diff options
author | redmatrix <git@macgirvin.com> | 2016-05-20 01:45:29 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-20 01:45:29 -0700 |
commit | aefeda8c416f8aed34a187a5ca2408598add864f (patch) | |
tree | e93e2d7277311b819092f993165de8cfa25a172b /boot.php | |
parent | fdece3b1026ebe0a1e7512bdbd24028aef699318 (diff) | |
download | volse-hubzilla-aefeda8c416f8aed34a187a5ca2408598add864f.tar.gz volse-hubzilla-aefeda8c416f8aed34a187a5ca2408598add864f.tar.bz2 volse-hubzilla-aefeda8c416f8aed34a187a5ca2408598add864f.zip |
recurse one more level of array when processing args
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |