]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11791 - Custom corners broken on the quiz view page because I missed a global...
authortjhunt <tjhunt>
Tue, 16 Oct 2007 20:29:20 +0000 (20:29 +0000)
committertjhunt <tjhunt>
Tue, 16 Oct 2007 20:29:20 +0000 (20:29 +0000)
mod/quiz/view.php

index 0c80da7525c87505ba7f0b831d6f92be120bb5dc..fda89f4893a5453fed308411d7cd3cfd79dc4682 100644 (file)
         }
     }
 
-
-
     // Print a button to start/continue an attempt, if appropriate.
     if (!$quiz->questions) {
         print_heading(get_string("noquestions", "quiz"));
 // Utility functions =================================================================
 
 function finish_page($course) {
+    global $THEME;
     if (!empty($THEME->customcorners)) print_custom_corners_end();
     echo '</td></tr></table>';
     print_footer($course);