]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19182 fix unknown $OUTPUT variable
authorjerome <jerome>
Thu, 3 Sep 2009 07:48:10 +0000 (07:48 +0000)
committerjerome <jerome>
Thu, 3 Sep 2009 07:48:10 +0000 (07:48 +0000)
auth/email/config.html

index 7873cd12d025bb3ac940d01173f5c2a87f9635a9..7ef72f6435f8bcab89d8765c1b28e21a81ed534d 100644 (file)
 </tr>
 <tr>
     <td align="right"><label for="menurecaptcha"><?php print_string('auth_emailrecaptcha_key', 'auth_email') ?></label></td>
-    <td><?php echo $OUTPUT->select(html_select::make($yesno, 'recaptcha', $config->recaptcha, false)); ?></td> 
+    <td><?php
+        global $OUTPUT;
+        echo $OUTPUT->select(html_select::make($yesno, 'recaptcha', $config->recaptcha, false));
+        ?></td>
     <td><?php print_string('auth_emailrecaptcha', 'auth_email') ?></td>
 </tr>    
 <?php