Skip to content

Commit

Permalink
Assignment MDL-22893 put safety require_once as encountered moodlefor…
Browse files Browse the repository at this point in the history
…m class not found err.
  • Loading branch information
aparup committed Jul 12, 2010
1 parent 437c2b8 commit 489c2f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mod/assignment/type/upload/upload_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

require_once($CFG->libdir.'/formslib.php');//putting this is as a safety as i got a class not found error.
/**
* @package mod-assignment
* @copyright 2010 Dongsheng Cai <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions mod/assignment/type/uploadsingle/upload_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

require_once($CFG->libdir.'/formslib.php');//putting this is as a safety as i got a class not found error.
/**
* @package mod-assignment
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
Expand Down

0 comments on commit 489c2f1

Please sign in to comment.