summaryrefslogtreecommitdiff
path: root/sqlbox/sqlbox_form.php
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 09:23:25 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 09:23:25 +0100
commit49cee88bd8b1696f49e732e08765e98cf93e3839 (patch)
treeae863d85c203c92af23ba25a7bfff9e12fbaa42a /sqlbox/sqlbox_form.php
parent597af18edf0c143d78797381226f28157a470617 (diff)
downloadsqltutor-plugin-49cee88bd8b1696f49e732e08765e98cf93e3839.tar.gz
sqltutor-plugin-49cee88bd8b1696f49e732e08765e98cf93e3839.tar.bz2
sqltutor-plugin-49cee88bd8b1696f49e732e08765e98cf93e3839.zip
sqlbox_form: Use Reference of &this->_form
Diffstat (limited to 'sqlbox/sqlbox_form.php')
-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');