From cfd3f8acb5d77dc66f31d1edaa3354fef3baa6f2 Mon Sep 17 00:00:00 2001 From: rmontanana Date: Tue, 18 Feb 2014 13:58:16 +0100 Subject: [PATCH] =?UTF-8?q?Corregido=20un=20error=20en=20Mantenimiento=20q?= =?UTF-8?q?ue=20hac=C3=ADa=20que=20cuando=20se=20borraba=20un=20registro?= =?UTF-8?q?=20los=20campos=20del=20formulario=20que=20muestran=20el=20regi?= =?UTF-8?q?stro=20se=20pudieran=20editar.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mantenimiento.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mantenimiento.php b/Mantenimiento.php index cc5a558..f7b28cd 100644 --- a/Mantenimiento.php +++ b/Mantenimiento.php @@ -409,7 +409,7 @@ class Mantenimiento { * @return array lista de campos y formulario de entrada */ private function formularioCampos($accion, $tipo, $datos) { - $modo = $tipo == BORRAR ? "readonly" : ""; + $modo = $tipo == BORRADO ? "readonly" : ""; $salida.='
' . "\n"; $salida.="

$tipo\n"; foreach ($this->campos as $clave => $valor) {