permission($radice,$_GET["codice_gara"],$id_modulo)) { $gara = gara::init($_GET["codice_gara"]); if (!empty($gara)) { $lock = $gara->checkLock($cmd_info["id"]); if ($gara->setLotto($_GET["codice_lotto"])) { $partecipante = $gara->getPartecipante($_GET["codice"]); if (!empty($partecipante)) { $error = false; $managerRichieste = $gara->getManagerRichieste(); $tutte = $managerRichieste->getRichieste("S",["tipologia"=>"anomalie"]); $richieste = []; if (!empty($tutte)) { foreach($tutte AS $richiesta) { if (!empty($managerRichieste->getOE($richiesta["codice"],$partecipante["codice_operatore"]))) { $richieste[] = $richiesta; } } } if (!empty($richieste)) { ?>