-

+
Inventario2
Aplicación para controlar el inventario de un centro educativo.
En la aplicación se hace uso de los siguientes módulos y/o bibliotecas
@@ -236,7 +236,7 @@ class AportaContenido {
$creditos = "$('#creditos').modal({keyboard: false});";
$centro = '
' . CENTRO . '
';
- return $mensaje . '
' .
+ return $mensaje . '
' .
'
' . CREDITOS;
case 'articulos':
case 'ubicaciones':
diff --git a/Mantenimiento.php b/Mantenimiento.php
index ca634e0..ee20ba5 100644
--- a/Mantenimiento.php
+++ b/Mantenimiento.php
@@ -423,7 +423,7 @@ class Mantenimiento {
$valor = "null";
}
} else {
- $valor = $_POST[$campo] == "" ? "null" : '"' . $_POST[$campo] . '"';
+ $valor = $_POST[$campo] == "" ? "null" : '"' . $this->bdd->filtra($_POST[$campo]) . '"';
}
}
$comando.="$coma " . $valor;
@@ -504,7 +504,7 @@ class Mantenimiento {
if (strlen(trim($_POST[$campo])) == 0) {
$comando.="$coma $campo=null";
} else {
- $comando.=$coma . ' ' . $campo . '="' . $_POST[$campo] . '"';
+ $comando.=$coma . ' ' . $campo . '="' . $this->bdd->filtra($_POST[$campo]) . '"';
}
}
}
diff --git a/img/qrlogo.png b/img/qrlogo.png
new file mode 100644
index 0000000..58b53d5
Binary files /dev/null and b/img/qrlogo.png differ