Merge branch 'wip-mdl-30974' of git://github.com/rajeshtaneja/moodle
authorSam Hemelryk <sam@moodle.com>
Mon, 20 Feb 2012 23:07:30 +0000 (12:07 +1300)
committerSam Hemelryk <sam@moodle.com>
Mon, 20 Feb 2012 23:07:30 +0000 (12:07 +1300)
1  2 
lib/form/filemanager.php
lib/formslib.php

Simple merge
@@@ -2252,10 -2249,9 +2249,10 @@@ class MoodleQuickForm_Renderer extends 
      /**
       * What to do when starting the form
       *
-      * @param object $form MoodleQuickForm
+      * @param MoodleQuickForm $form reference of the form
       */
      function startForm(&$form){
 +        global $PAGE;
          $this->_reqHTML = $form->getReqHTML();
          $this->_elementTemplates = str_replace('{req}', $this->_reqHTML, $this->_elementTemplates);
          $this->_advancedHTML = $form->getAdvancedHTML();