quiz: MDL-19813 missing global $OUTPUT.

This commit is contained in:
tjhunt 2009-07-21 07:08:08 +00:00
parent 4565dcff25
commit a1a6cf1116

View File

@ -6,7 +6,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package quiz
*/
global $DB;
global $DB, $OUTPUT;
if (empty($quiz)) {
if (empty($attemptobj)) {
print_error('cannotcallscript');