MDL-21695 fixed help regression
authorPetr Skoda <skodak@moodle.org>
Wed, 14 Apr 2010 08:53:30 +0000 (08:53 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 14 Apr 2010 08:53:30 +0000 (08:53 +0000)
lib/outputcomponents.php

index 05bfb9c..7194f7b 100644 (file)
@@ -490,7 +490,7 @@ class single_select implements renderable {
      * @return void
      */
     public function set_help_icon($identifier, $component = 'moodle') {
-        $this->helpicon = new old_help_icon($identifier, $component);
+        $this->helpicon = new help_icon($identifier, $component);
     }
 
     /**
@@ -598,7 +598,7 @@ class url_select implements renderable {
      * @return void
      */
     public function set_help_icon($identifier, $component = 'moodle') {
-        $this->helpicon = new _help_icon($identifier, $component);
+        $this->helpicon = new help_icon($identifier, $component);
     }
 
     /**