$ts) { if ($ts['ctsiIfControllerState'] === 'open' && isset($port_stats[$ts_index])) { // set port at encrypted $port_stats[$ts_index]['encrypted'] = '1'; } } unset($trustsec_statuses, $ts, $ts_index); // EOF