diff --git a/funciones/funciones.php b/funciones/funciones.php index 9aef520..3b01acc 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -2277,7 +2277,7 @@ function banner($id,$registros,$tipo){ $advertencia ="

No tiene autorizaciĆ³n para revisar este contenido

"; return $advertencia; } -if(isset($_REQUEST['random'])){ $order = "ORDER BY RAND()"; }ELSE{$order ="";} +if(isset($_REQUEST['random'])){ $order = "ORDER BY RAND()"; }ELSE{$order ="ORDER BY form_datos.timestamp";} /// PRIVACIDAD if($publico[0] =='1') {} $consulta_principal = "SELECT control,id,form_id , FROM_UNIXTIME(form_datos.timestamp) as fecha FROM form_datos WHERE form_id = '$id' GROUP BY form_datos.control $order ";