question bank MDL-22047 The logic for whether hidden questions were shown was backwards!

This commit is contained in:
Tim Hunt
2010-05-07 00:33:14 +00:00
parent 2b38499d60
commit 331bcf9abf
+1 -1
View File
@@ -1038,7 +1038,7 @@ class question_bank_view {
/// Build the where clause.
$tests = array('parent = 0');
if ($showhidden) {
if (!$showhidden) {
$tests[] = 'hidden = 0';
}