Browse Source

SORT_LASTNAME needed a prefix

MOODLE_23_STABLE
Chris Stones 13 years ago
committed by Artem Andreev
parent
commit
0b5247fd9f
  1. 2
      renderer.php

2
renderer.php

@ -450,7 +450,7 @@ class mod_attforblock_renderer extends plugin_renderer_base {
$firstname = get_string('firstname'); $firstname = get_string('firstname');
if ($data->pageparams->sort == ATT_SORT_FIRSTNAME) if ($data->pageparams->sort == ATT_SORT_FIRSTNAME)
$lastname = html_writer::link($data->url(array('sort' => SORT_LASTNAME)), get_string('lastname')); $lastname = html_writer::link($data->url(array('sort' => ATT_SORT_LASTNAME)), get_string('lastname'));
else else
$lastname = get_string('lastname'); $lastname = get_string('lastname');

Loading…
Cancel
Save