MDL-49231 mod_glossary: Invalid pivot when printing entries
This commit is contained in:
@@ -190,11 +190,7 @@ if ( $allentries ) {
|
||||
// Setting the pivot for the current entry.
|
||||
if ($printpivot) {
|
||||
|
||||
if ($userispivot) {
|
||||
$pivot = $entry->userid;
|
||||
} else {
|
||||
$pivot = $pivotfn($entry);
|
||||
}
|
||||
$pivot = $entry->{$pivotkey};
|
||||
$upperpivot = core_text::strtoupper($pivot);
|
||||
$pivottoshow = core_text::strtoupper(format_string($pivot, true, $fmtoptions));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user