Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fixing a bug: Group breaks even when the only thing that change bet…

…ween an entry and the previous is its case.
  • Loading branch information...
commit 5020a17a85bf9673418267da5e1ce266ca6ddca6 1 parent 7601c1f
willcast authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 mod/glossary/view.php
5 mod/glossary/view.php
View
@@ -444,7 +444,6 @@
$showentry = 0;
}
}
-$num=0;
//glossary_debug($debug,(++$num) . ": $showentry");
if ( $hook == 'SPECIAL' ) {
$initial = $entry->concept[0];
@@ -474,7 +473,7 @@
if ( $showentry ) {
/// if there's a group break
- if ( $currentpivot != $pivot ) {
+ if ( $currentpivot != strtoupper($pivot) ) {
// print the group break if apply and necessary
if ( $printpivot ) {
@@ -482,7 +481,7 @@
print_simple_box_end();
$tableisopen = 0;
}
- $currentpivot = $pivot;
+ $currentpivot = strtoupper($pivot);
echo '<p>';
echo '<table width="95%" border="0" class="generaltabselected" bgcolor="' . $THEME->cellheading2 . '">';
Please sign in to comment.
Something went wrong with that request. Please try again.