out(); return; } else { // Get the number of logical libraies so we know if we need to bring up the partition Slect page or not. $Alllibs = get_logical_libraries_brief($user); foreach($Alllibs as $lib) { // First get the loaded drives so we can filter the partiton list $drives = get_loaded_drives($user, $sortCriteria, $lib->guid); error_log("There were ". count($drives). " drives for Lib $lib->guid ". print_r($drives,true)); if( count($drives) != 0 ) { // Add this Logical Library ot the list. It has a loaded drive. $libs[] = $lib; } } $lib_count = count($libs); if( $lib_count == 0 ) $libs = "None"; } ?>