mirror of
https://github.com/rmontanana/inventario2.git
synced 2025-08-15 15:35:56 +00:00
Corregido un error que hacía que no salieran los listados de los mantenimientos.
This commit is contained in:
@@ -120,10 +120,8 @@ class Inventario {
|
||||
// Creamos un objeto Distribución facilitándole el
|
||||
// nombre del archivo plantilla y el objeto que aportará
|
||||
// el contenido
|
||||
$opc = '';
|
||||
if (isset($_GET['opc'])) {
|
||||
list($opcion, $parametro) = explode("&", $this->opcActual);
|
||||
}
|
||||
$opc = $_GET['opc'];
|
||||
list($opcion, $parametro) = explode("&", $this->opcActual);
|
||||
switch ($opc) {
|
||||
case 'informe':
|
||||
$enlace = 'xml/informe' . ucfirst($opcion) . '.xml';
|
||||
|
Reference in New Issue
Block a user