diff --git a/lib/formslib.php b/lib/formslib.php
index c2c27f529d0..a9a91d1b352 100644
--- a/lib/formslib.php
+++ b/lib/formslib.php
@@ -1397,11 +1397,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".'