Skip to content

Commit

Permalink
MDL-20204 fixing typo and missing static method identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Feb 19, 2010
1 parent f4ed6fc commit 19f3bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputcomponents.php
Expand Up @@ -738,7 +738,7 @@ public static function checkbox($name, $value, $checked = true, $label = '', arr
* @param array $attributes - html select element attributes
* @return string HRML fragment
*/
public function select_yes_no($name, $selected=true, array $attributes = null) {
public static function select_yes_no($name, $selected=true, array $attributes = null) {
$options = array('1'=>get_string('yes'), '0'=>get_string('no'));
return self::select($options, $name, $selected, null, $attributes);
}
Expand Down

0 comments on commit 19f3bbb

Please sign in to comment.