From ad4b4c33f82c7d547391362af0036b7303d02704 Mon Sep 17 00:00:00 2001 From: humano Date: Thu, 22 Nov 2018 18:09:15 -0500 Subject: [PATCH] correccion vista favorita por defecto --- funciones/funciones.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 8fd2284..a191d31 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -602,7 +602,7 @@ function vista_favorita($form_id){ elseif($vista=='notas') { $favorita="n$form_id";} elseif($vista=='landingpage') { $favorita="o$form_id";} else{ $favorita="b$form_id?registros=10";} - }else{ $favorita="";} + }else{ $favorita="a$form_id";} return $favorita; } @@ -12369,7 +12369,7 @@ while( $row = mysqli_fetch_array( $sql ) ) { $vista_favorita = vista_favorita($row['id_formulario']); if($id_empresa !=''){ $onclick =""; - $accion = " href='./$vista_favorita' "; + $accion = " href='./$vista_favorita'"; }else { $onclick =""; // Por acá