forked from qwerty/tupali
Correccion seguridad cx empresa
This commit is contained in:
parent
7bd90f24a1
commit
3461f005e6
@ -3368,7 +3368,7 @@ if( $tipo !== "" AND $tipo !=="embebido" ) {
|
||||
// $propietario = remplacetas('usuarios','id',$propietario[0],'email',"") ;
|
||||
if($publico[0] !="0" OR $_SESSION["id_empresa"] !="$propietario[0]") {
|
||||
|
||||
$agregar = " <div class='btn btn-default btn-block ' onclick =\"xajax_formulario_embebido_ajax('$form','','nuevo');\"> <i class='glyphicon glyphicon-plus-sign'></i> Agregar </a></div>";
|
||||
$agregar = " <div class='btn btn-default btn-block ' onclick =\"xajax_formulario_embebido_ajax('$form','','nuevo');\"> <i class='glyphicon glyphicon-plus-sign'></i> Agregar ( $_SESSION[id_empresa] $propietario[0] )</a></div>";
|
||||
}
|
||||
$acciones="
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user