From: x2001corpet Date: Sun, 4 Jun 2006 12:37:48 +0000 (+0000) Subject: Bug 412 Erreur SQL sur la recherche pro X-Git-Tag: xorg/0.9.10~83 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5cd9e99f7b30e6f9355ef1c33c4d6e8b17a09f86;p=platal.git Bug 412 Erreur SQL sur la recherche pro git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@286 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/ChangeLog b/ChangeLog index 1358c23..162106a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,11 @@ New : * Geoloc : Dynamic maps using geodesix plugin -Car +Bug/Wish : + + * Search : + - #412: Error SQL in big referent searches. -Car + From 0.9.8 Branch : * Xnet : diff --git a/htdocs/referent.php b/htdocs/referent.php index 4ad554f..372ed43 100644 --- a/htdocs/referent.php +++ b/htdocs/referent.php @@ -121,7 +121,7 @@ if (Env::has('Chercher')) { $page->assign_by_ref('personnes',$personnes); while( (list($uid, $prenom, $nom, $promo, $bestalias, $expertise_bd, $pays_id, $secteur_id, $ss_secteur_id) = $res->next()) - || ($nb_resultats >= $nb_max_resultats_total)){ + && ($nb_resultats < $nb_max_resultats_total)){ if ($current_uid != $uid) { $current_uid = $uid; $page_correspondante = (int)($nb_resultats / $nb_max_resultats_par_page) +1;