diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-21 09:23:25 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-21 09:23:25 +0100 |
commit | 49cee88bd8b1696f49e732e08765e98cf93e3839 (patch) | |
tree | ae863d85c203c92af23ba25a7bfff9e12fbaa42a /sqlbox | |
parent | 597af18edf0c143d78797381226f28157a470617 (diff) | |
download | sqltutor-plugin-49cee88bd8b1696f49e732e08765e98cf93e3839.tar.gz sqltutor-plugin-49cee88bd8b1696f49e732e08765e98cf93e3839.tar.bz2 sqltutor-plugin-49cee88bd8b1696f49e732e08765e98cf93e3839.zip |
sqlbox_form: Use Reference of &this->_form
Diffstat (limited to 'sqlbox')
-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'); |