Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30600 Fix mymobile theme choice renderer

  • Loading branch information...
commit 6ca2f1d3ce40b2c7961294c35733af625f0ba00d 1 parent 8ef685c
@rwijaya rwijaya authored nebgor committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 theme/mymobile/renderers.php
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.