mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
quiz: MDL-19813 missing global $OUTPUT.
This commit is contained in:
parent
4565dcff25
commit
a1a6cf1116
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user