Merge branch 'MDL-43131_26' of git://github.com/timhunt/moodle into MOODLE_26_STABLE
This commit is contained in:
@@ -941,7 +941,7 @@ class question_bank_view {
|
||||
$columns = array('checkbox', 'qtype', 'questionname', 'editaction',
|
||||
'previewaction', 'moveaction', 'deleteaction', 'creatorname',
|
||||
'modifiername');
|
||||
if (optional_param('qbshowtext', false, PARAM_BOOL)) {
|
||||
if (question_get_display_preference('qbshowtext', 0, PARAM_BOOL, new moodle_url(''))) {
|
||||
$columns[] = 'questiontext';
|
||||
}
|
||||
return $columns;
|
||||
|
||||
Reference in New Issue
Block a user