1
0
forked from qwerty/milfs

correccion bug en borrar formulario

This commit is contained in:
humano 2019-08-05 07:06:59 -05:00
parent 899df0a163
commit 5c70d84462

View File

@ -16524,7 +16524,7 @@ ${"key_escritura_".$id} = remplacetas('form_permisos','form_id',"$id",'permiso
${"key_administrador_".$id} = remplacetas('form_permisos','form_id',"$id",'permiso',"id_empresa = '$_SESSION[id_empresa]' AND tipo='administrador'") ;
$item .= "<!-- <div class='col-sm-$columnas' style=';'> -->
<div class='panel panel-default' >
<div class='panel panel-default' id='panel_$row[id]'>
<div class='panel-heading' id= 'encabezado_$row[id]' role='tab'>
<div class='panel-title container-fluid'>
@ -16783,7 +16783,7 @@ $resultado ="<div class='alert alert-danger'>
}elseif($tipo=='cancelar') {
$resultado ="<a class='btn btn-danger btn-block' href='#' onclick=\"xajax_formulario_eliminar('$id',''); \"><i class='glyphicon glyphicon-trash'></i> Eliminar</a>";
}elseif($tipo =='eliminar'){
$consulta = "DELETE FROM form_id WHERE form_id.id = '$id' ";
$consulta = "DELETE FROM form_id WHERE form_id.id = '$id' limit 1";
$link=Conectarse();
$sql=mysqli_query($link,$consulta);
if($sql) {