Permalink
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...
1 parent 7601c1f commit 5020a17a85bf9673418267da5e1ce266ca6ddca6 willcast committed Nov 16, 2003
Showing with 2 additions and 3 deletions.
  1. +2 −3 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,15 +473,15 @@
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 ) {
if ( $tableisopen ) {
print_simple_box_end();
$tableisopen = 0;
}
- $currentpivot = $pivot;
+ $currentpivot = strtoupper($pivot);
echo '<p>';
echo '<table width="95%" border="0" class="generaltabselected" bgcolor="' . $THEME->cellheading2 . '">';

0 comments on commit 5020a17

Please sign in to comment.