summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
Diffstat (limited to 'sqlbox')
-rw-r--r--sqlbox/sqlbox_form.php2
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');