forked from qwerty/tupali
Correccion seguridad cx empresa
This commit is contained in:
parent
89651284c1
commit
8d6895766e
@ -3368,7 +3368,7 @@ if( $tipo !== "" AND $tipo !=="embebido" ) {
|
|||||||
// $propietario = remplacetas('usuarios','id',$propietario[0],'email',"") ;
|
// $propietario = remplacetas('usuarios','id',$propietario[0],'email',"") ;
|
||||||
if($publico[0] !="0" OR $_SESSION["id_empresa"] =="$propietario[0]") {
|
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 ( $_SESSION[id_empresa] $propietario[0] )</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 </a></div>";
|
||||||
}
|
}
|
||||||
$acciones="
|
$acciones="
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user