From 0b5247fd9f3495059c11a52db5957f28607a1301 Mon Sep 17 00:00:00 2001 From: Chris Stones Date: Tue, 29 Nov 2011 10:54:20 -0800 Subject: [PATCH] SORT_LASTNAME needed a prefix --- renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer.php b/renderer.php index bc5f764..6a628f9 100644 --- a/renderer.php +++ b/renderer.php @@ -450,7 +450,7 @@ class mod_attforblock_renderer extends plugin_renderer_base { $firstname = get_string('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 $lastname = get_string('lastname');