diff options
Diffstat (limited to 'util/pconfig')
-rwxr-xr-x | util/pconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/pconfig b/util/pconfig index 1847a5a81..36d894fb5 100755 --- a/util/pconfig +++ b/util/pconfig @@ -73,8 +73,10 @@ if($argc == 4) { if($argc == 3) { load_pconfig($argv[1],$argv[2]); - foreach(App::$config[$argv[1]][$argv[2]] as $k => $x) { - echo "pconfig[{$argv[1]}][{$argv[2]}][{$k}] = " . $x . "\n"; + if(App::$config[$argv[1]][$argv[2]]) { + foreach(App::$config[$argv[1]][$argv[2]] as $k => $x) { + echo "pconfig[{$argv[1]}][{$argv[2]}][{$k}] = " . $x . "\n"; + } } } |