correccion descarga de adjuntos

This commit is contained in:
humano 2018-06-22 09:31:02 -05:00
parent 769321a266
commit 8f5758d221

View File

@ -57,9 +57,9 @@ function mysqli_result($res,$row=0,$col=0){
$privacidad = remplacetas('form_id','id',"$control[5]",'publico',"") ;
//if($privacidad[0] == 0 AND ($_SESSION['id'] != $control[6] OR $_SESSION['id_empresa'] != $control[7]) or $_SESSION['equipo'] != $control[8] ) {
if($privacidad[0] == 0 AND ($_SESSION['id'] != $control[6] OR $_SESSION['id_empresa'] != $control[7]) or $_SESSION['equipo'] != $control[8] ) {
if($privacidad[0] == 0 AND ($_SESSION['id'] != $control[6] OR $_SESSION['id_empresa'] != $control[7] or $_SESSION['equipo'] != $control[8] )) {
header("Location: ../images/seguridad.gif");
//echo "$privacidad[2]";
//echo "if($privacidad[0] == 0 AND ($_SESSION[id] != $control[6] OR $_SESSION[id_empresa] != $control[7] or $_SESSION[equipo] != $control[8])";
exit();
}
//else{ echo "$privacidad[2]"; exit();}