diff options
Diffstat (limited to 'sqlbox/sqlbox_form.php')
-rw-r--r-- | sqlbox/sqlbox_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/sqlbox_form.php b/sqlbox/sqlbox_form.php index 6569595..be6e20d 100644 --- a/sqlbox/sqlbox_form.php +++ b/sqlbox/sqlbox_form.php @@ -7,7 +7,7 @@ require_once($CFG->libdir.'/formslib.php'); class mod_sqlbox_form extends moodleform { public function definition() { - $mform = $this->_form; + $mform = &$this->_form; $mform->addElement('header', 'general', 'SQLBox'); $mform->addElement('text', 'query', 'Query', 'size="50"'); $mform->addElement('editor', 'query2', 'Query2'); |