mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-42462 mod_feedback: added $OUTPUT to list of global variables used to avoid error
This commit is contained in:
parent
8921c6c0c2
commit
f68fee244a
@ -120,7 +120,7 @@ class feedback_item_captcha extends feedback_item_base {
|
||||
* @return void
|
||||
*/
|
||||
public function print_item_preview($item) {
|
||||
global $DB;
|
||||
global $DB, $OUTPUT;
|
||||
|
||||
$align = right_to_left() ? 'right' : 'left';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user