mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
outpurenderer MDL-24560 $OUTPUT->doc_link() support icon only (no link text) but trigger warning and wrong xhtml_strict code => fixed
This commit is contained in:
parent
fe561379e4
commit
010e02b46d
1 changed files with 1 additions and 1 deletions
|
@ -1314,7 +1314,7 @@ class core_renderer extends renderer_base {
|
|||
* @param string $text The text to be displayed for the link
|
||||
* @return string
|
||||
*/
|
||||
public function doc_link($path, $text) {
|
||||
public function doc_link($path, $text = '') {
|
||||
global $CFG;
|
||||
|
||||
$icon = $this->pix_icon('docs', $text, 'moodle', array('class'=>'iconhelp'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue