diff --git a/index.php b/index.php index f4979d0..c55672e 100644 --- a/index.php +++ b/index.php @@ -618,6 +618,7 @@ if('serviceWorker' in navigator) { /// g=FORMULARIO EMBEBIDO $no_mostrar ="display:none; "; $form =$v[1]; + if($form =="" ){ header ("Location:./"); } $empresa = remplacetas('form_id','id',$form,'id_empresa',"") ; $razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ; $id_empresa = $empresa[0];