correccion bug en formularios embebidos

This commit is contained in:
humano 2018-05-04 08:37:21 -05:00
parent d0e3e5e589
commit d1944710c8

View File

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