Permalink
Browse files

MDL-30600 Fix mymobile theme choice renderer

  • Loading branch information...
1 parent 2117dcb commit 0c97dc1a72c58b620575cba640aca71fc2542374 Rossiani Wijaya committed Jan 3, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 theme/mymobile/renderers.php
@@ -31,6 +31,9 @@
* @copyright John Stabinger
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+
+include_once ($CFG->dirroot. '/mod/choice/renderer.php');
+
class theme_mymobile_renderer extends plugin_renderer_base {
/**
@@ -785,7 +788,7 @@ protected function render_single_select(single_select $select) {
* @copyright John Stabinger
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-class theme_mymobile_mod_choice_renderer extends plugin_renderer_base {
+class theme_mymobile_mod_choice_renderer extends mod_choice_renderer {
/**
* Returns HTML to display choices of option

0 comments on commit 0c97dc1

Please sign in to comment.