diff options
Diffstat (limited to 'maintenance/mcc.php')
-rw-r--r-- | maintenance/mcc.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/maintenance/mcc.php b/maintenance/mcc.php index 89605871..53645df8 100644 --- a/maintenance/mcc.php +++ b/maintenance/mcc.php @@ -88,7 +88,11 @@ do { break; case 'get': - print "Getting {$args[0]}[{$args[1]}]\n"; + $sub = ''; + if ( array_key_exists( 1, $args ) ) { + $sub = $args[1]; + } + print "Getting {$args[0]}[$sub]\n"; $res = $mcc->get( $args[0] ); if ( array_key_exists( 1, $args ) ) { $res = $res[$args[1]]; |