Assignment MDL-22893 put safety require_once as encountered moodleform class not found err.

This commit is contained in:
aparup 2010-07-12 07:33:21 +00:00
parent 437c2b858c
commit 489c2f1b7a
2 changed files with 2 additions and 0 deletions

View file

@ -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>

View file

@ -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}