Permalink
Browse files

Merge branch 'MDL-27515_m19' of git://github.com/rwijaya/moodle into …

…MOODLE_19_STABLE
  • Loading branch information...
stronk7 committed Jul 11, 2011
2 parents b2d016f + b2fd028 commit 4a817f07532054382a00584318ad57efcd0f16b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/resource/mod_form.php
@@ -22,7 +22,7 @@ function definition() {
$mform->setType('type', PARAM_ALPHA);
$mform->setDefault('type', $type);
- require($CFG->dirroot.'/mod/resource/type/'.$type.'/resource.class.php');
+ require_once($CFG->dirroot.'/mod/resource/type/'.$type.'/resource.class.php');
$resclass = 'resource_'.$type;
$this->_resinstance = new $resclass();

0 comments on commit 4a817f0

Please sign in to comment.