From 6ca2f1d3ce40b2c7961294c35733af625f0ba00d Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Tue, 3 Jan 2012 13:05:55 +0800 Subject: [PATCH] MDL-30600 Fix mymobile theme choice renderer --- theme/mymobile/renderers.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/theme/mymobile/renderers.php b/theme/mymobile/renderers.php index 1552215d6fb..a0eac198da4 100644 --- a/theme/mymobile/renderers.php +++ b/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 @@ class theme_mymobile_core_renderer extends core_renderer { * @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