question bank MDL-22047 The logic for whether hidden questions were shown was backwards!
This commit is contained in:
@@ -1038,7 +1038,7 @@ class question_bank_view {
|
||||
/// Build the where clause.
|
||||
$tests = array('parent = 0');
|
||||
|
||||
if ($showhidden) {
|
||||
if (!$showhidden) {
|
||||
$tests[] = 'hidden = 0';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user