Skip to content

Commit

Permalink
Merge branch 'MDL-49923-master-fix1' of git://github.com/damyon/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 4, 2015
2 parents 35ea78d + dd636ab commit d670f31
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

require_once($CFG->dirroot . '/theme/bootstrapbase/renderers.php');

/**
* Clean core renderers.
*
Expand All @@ -33,9 +35,9 @@ class theme_clean_core_renderer extends theme_bootstrapbase_core_renderer {
*/
public function full_header($heading = null) {
if (!empty($this->page->theme->settings->logo)) {
return $this->full_header(html_writer::tag('div', '', array('class' => 'logo')));
return parent::full_header(html_writer::tag('div', '', array('class' => 'logo')));
}
return $this->full_header();
return parent::full_header();
}

}

0 comments on commit d670f31

Please sign in to comment.