out(); return; } $hosts = get_blade_hosts($user); error_log( "hosts = ". print_r($hosts, true) ); $numHosts = sizeof($hosts); $bEnableHostMapping = get_host_mapping_enabled($user); $bladesOrig = get_blades($user); $blades = array(); // Convert the array into an array keyed off the Blade ID instead of the index. foreach( $bladesOrig as $blade ) $blades[$blade->id] = $blade; error_log( "blades = ". print_r($blades, true) ); ?>