From 40582336faaec4e508ff7b7a474bd7eca45b66b8 Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Wed, 13 Feb 2008 10:43:19 +0100 Subject: [PATCH] [svn r14288] repair browsing between pages --- main/exercice/exercice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/exercice/exercice.php b/main/exercice/exercice.php index 7104a68916..ccf588e116 100644 --- a/main/exercice/exercice.php +++ b/main/exercice/exercice.php @@ -484,7 +484,7 @@ if($show == 'test'){ { $nbrHpTests = $nbrActiveTests; } - $nbrNextTests = $nbrHpTests-(($page*$limitExPage)); + $nbrNextTests = $nbrexerc-$nbrHpTests-(($page*$limitExPage)); //show pages navigation link for previous page