From 0f0056ee01851bd4c939f744034c54877a0bd35f Mon Sep 17 00:00:00 2001 From: humano Date: Tue, 30 Sep 2014 04:45:21 -0500 Subject: [PATCH] Correcion bug https://github.com/humano/milfs/issues/5 --- milfs/funciones/funciones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 836a7be..e339526 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -1029,7 +1029,7 @@ mysql_query(" `orden` = '$campo_orden' , `campo_area` = '$campo_area', `campo_tipo` = '$campo_tipo', - `id_empresa` = '$id_empresa', + `id_empresa` = '$_SESSION[id_empresa]', `activo` = '$activo' WHERE `form_campos`.`id` ='$id_campo_editar' LIMIT 1",$link);