]> git.mjollnir.org Git - moodle.git/commitdiff
Fatal error: Call to a member function checkbox() on a non-object in /usr/local/www...
authorethem <ethem>
Mon, 28 Sep 2009 20:17:24 +0000 (20:17 +0000)
committerethem <ethem>
Mon, 28 Sep 2009 20:17:24 +0000 (20:17 +0000)
enrol/authorize/locallib.php

index 33118ddd10d41eaabdfeace09ffbae14f6c51512..2da6dd27f5c0730d157d0dd08f537ead64d78c62 100644 (file)
@@ -658,7 +658,7 @@ function authorize_get_status_color($status)
 
 function authorize_print_action_button($orderid, $do, $suborderid=0, $confirm=false, $unenrol=false, $nobutton=false, $extrahtml='')
 {
-    global $CFG;
+    global $CFG, $OUTPUT;
     global $authstrs;
 
     $ret =  '<form action="'.$CFG->wwwroot.'/enrol/authorize/index.php'.'" method="post"><div>' .