Bug 2918. Change proposed by t.imoto.
(http://moodle.org/bugs/bug.php?op=show&bugid=2918)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user