diff --git a/modules/productos.php b/modules/productos.php index e97f427..16cf787 100755 --- a/modules/productos.php +++ b/modules/productos.php @@ -29,11 +29,17 @@ $categorias = $prodCat->EnumerateAll(); $proveedores = $proveedor->EnumerateAll(); - + $msg = $_SESSION['msgP']; $_SESSION['msgP'] = ''; - - $smarty->assign('msg', $msg); + + $info = array( + 'proveedorId' => '', + 'prodCatId' => '' + ); + + $smarty->assign('msg', $msg); + $smarty->assign('info', $info); $smarty->assign('categorias', $categorias); $smarty->assign('proveedores', $proveedores); $smarty->assign('productos', $productos);