Missing global $OUTPUT decleration
authorDan Poltawski <dan.poltawski@lancaster.ac.uk>
Fri, 30 Oct 2009 22:10:25 +0000 (22:10 +0000)
committerDan Poltawski <dan.poltawski@lancaster.ac.uk>
Fri, 30 Oct 2009 22:10:25 +0000 (22:10 +0000)
enrol/paypal/config.html

index 17fcf4b..20ae584 100644 (file)
@@ -14,6 +14,7 @@
     <td align="right">enrol_currency:</td>
     <td>
     <?php 
+        global $OUTPUT;
         $select = html_select::make($paypalcurrencies, "enrol_currency", $frm->enrol_currency, false);
         $select->nothingvalue = '';
         echo $OUTPUT->select($select);