diff --git a/lib/formslib.php b/lib/formslib.php
index 6bc9cfe48e8..8631d137331 100644
--- a/lib/formslib.php
+++ b/lib/formslib.php
@@ -1486,11 +1486,11 @@ class MoodleQuickForm_Renderer extends HTML_QuickForm_Renderer_Tableless{
// switch next two lines for ol li containers for form items.
// $this->_elementTemplates=array('default'=>"\n\t\t".'