Permalink
Browse files

Bug 2918. Change proposed by t.imoto.

  • Loading branch information...
stronk7
stronk7 committed Apr 14, 2005
1 parent fd56432 commit ce18f817f140accd444fa0cf91c367b237fe6584
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/glossary/print.php
  2. +1 −1 mod/glossary/view.php
View
@@ -154,7 +154,7 @@
// Setting the pivot for the current entry
$pivot = $entry->pivot;
if ( !$fullpivot ) {
- $pivot = $pivot[0];
+ $pivot = substr($pivot, 0, 1);
}
// If there's group break
View
@@ -315,7 +315,7 @@
/// Setting the pivot for the current entry
$pivot = $entry->pivot;
if ( !$fullpivot ) {
- $pivot = $pivot[0];
+ $pivot = substr($pivot, 0, 1);
}
/// if there's a group break

0 comments on commit ce18f81

Please sign in to comment.