From 08ec7ec62e703ecce4dd4df3e34faf605e4d6dcc Mon Sep 17 00:00:00 2001 From: sam_marshall Date: Fri, 27 Feb 2009 12:58:23 +0000 Subject: [PATCH] MDL-18401: Glossary page bar should highlight current page --- mod/glossary/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index 85024cf4a9..72bf310fb8 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -2025,7 +2025,7 @@ function glossary_get_paging_bar($totalcount, $page, $perpage, $baseurl, $maxpag while ($pagenum <= $pageto) { $pagetoshow = $pagenum +1; if ($pagenum == $page && !$specialselected) { - $code .= "$separator$pagetoshow"; + $code .= "$separator$pagetoshow"; } else { $code .= "$separator$pagetoshow"; } @@ -2045,7 +2045,7 @@ function glossary_get_paging_bar($totalcount, $page, $perpage, $baseurl, $maxpag if ($showspecial) { $code .= '
'; if ($specialselected) { - $code .= $specialtext; + $code .= "$specialtext"; } else { $code .= "$separator$specialtext"; } -- 2.39.5