Permalink
Browse files

Merge branch 'MDL-43131_24' of git://github.com/timhunt/moodle into M…

…OODLE_24_STABLE
  • Loading branch information...
2 parents 71e7d25 + 7166078 commit 10f476e3a5c5c3301fbc16c120f5b3693591dcb4 @marinaglancy marinaglancy committed Dec 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/editlib.php
View
@@ -932,7 +932,7 @@ protected function wanted_columns() {
$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;

0 comments on commit 10f476e

Please sign in to comment.