mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Assignment MDL-22893 put safety require_once as encountered moodleform class not found err.
This commit is contained in:
parent
437c2b858c
commit
489c2f1b7a
2 changed files with 2 additions and 0 deletions
|
@ -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 <dongsheng@moodle.com>
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue