forked from qwerty/tupali
correccion descarga de adjuntos
This commit is contained in:
parent
769321a266
commit
8f5758d221
@ -57,9 +57,9 @@ function mysqli_result($res,$row=0,$col=0){
|
|||||||
$privacidad = remplacetas('form_id','id',"$control[5]",'publico',"") ;
|
$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] ) {
|
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");
|
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();
|
exit();
|
||||||
}
|
}
|
||||||
//else{ echo "$privacidad[2]"; exit();}
|
//else{ echo "$privacidad[2]"; exit();}
|
||||||
|
Loading…
Reference in New Issue
Block a user