Oh, adesso mi sono fatto una bella dormita ed eccoti l'errore.

Tu hai questa riga
<input type=hidden name='ID_OGGETTO' value=". $row['ID_OGGETTO'] ."

il tag input non è chiuso, manca il /> alla fine.

Usa gli apici anche per gli attributi type, ovvero type='hidden'