diff --git a/question/format/xhtml/format.php b/question/format/xhtml/format.php index 2ae9029c13b..62e924cbd8e 100755 --- a/question/format/xhtml/format.php +++ b/question/format/xhtml/format.php @@ -23,7 +23,7 @@ function writequestion( $question ) { // question reflects database fields for general question and specific to type // if a category switch, just ignore - if ($question-qtype=='category') { + if ($question->qtype=='category') { return ''; }