mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-45414 wiki: blank image for page index icons
This commit is contained in:
parent
b76ae3b0ce
commit
317e98badd
@ -1515,7 +1515,8 @@ function wiki_build_tree($page, $node, &$keys) {
|
||||
$content = array();
|
||||
static $icon = null;
|
||||
if ($icon === null) {
|
||||
$icon = new pix_icon('f/text-24', '');
|
||||
// Substitute the default navigation icon with empty image.
|
||||
$icon = new pix_icon('spacer', '');
|
||||
}
|
||||
$pages = wiki_get_linked_pages($page->id);
|
||||
foreach ($pages as $p) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user