From 553ec73c14b9e59394cb99706dc1222429462f8c Mon Sep 17 00:00:00 2001 From: Bate Date: Tue, 16 Jul 2013 07:58:57 +0000 Subject: [PATCH] Stats utilisateur --- user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.php b/user.php index 7074f1e5a..1d1bc016b 100644 --- a/user.php +++ b/user.php @@ -1237,7 +1237,7 @@ elseif ( ($_REQUEST["view"]=="stats") && $user->etudiant && JOIN cpt_debitfacture ON cpt_debitfacture.id_facture = cpt_vendu.id_facture WHERE cpt_debitfacture.id_utilisateur_client = $user->id AND (cpt_produits.id_typeprod < 10 OR cpt_produits.id_typeprod = 27) - GROUP BY id ORDER BY nombre DESC"); + GROUP BY id ORDER BY nombre DESC LIMIT 10"); $cts->add(new sqltable( "topconso", -- GitLab